Skip to content

Commit

Permalink
Merge pull request operator-framework#549 from dinhxuanvu/olm-log-fix
Browse files Browse the repository at this point in the history
Fix olm pod name so log to be written correctly to olm.log
  • Loading branch information
openshift-merge-robot authored Nov 4, 2018
2 parents 6854f4a + ce876c2 commit 3c323fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/run_e2e_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ function cleanupAndExit {
exitCode=$?
if [ "$exitCode" -ne "0" ]; then
echo "error running tests. logs written to olm.log, catalog.log, and package.log";
kubectl -n ${namespace} logs -l app=alm-operator > olm.log;
kubectl -n ${namespace} logs -l app=olm-operator > olm.log;
kubectl -n ${namespace} logs -l app=catalog-operator > catalog.log;
kubectl -n ${namespace} logs -l app=package-server > package.log
else
else
cleanup
fi

Expand Down

0 comments on commit 3c323fa

Please sign in to comment.