We no longer need to append entries to logfile
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
This commit is contained in:
parent
d991727c10
commit
396c32a3b6
@ -26,7 +26,7 @@ printf "" # Refresh sudo credentials if necessary.
|
||||
function start {
|
||||
set +e # We want to handle errors if cAdvisor crashes.
|
||||
echo ">> starting cAdvisor locally"
|
||||
GORACE="halt_on_error=1" ./cadvisor --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &>> "$log_file"
|
||||
GORACE="halt_on_error=1" ./cadvisor --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
|
||||
if [ $? != 0 ]; then
|
||||
echo "!! cAdvisor exited unexpectedly with Exit $?"
|
||||
kill $TEST_PID # cAdvisor crashed: abort testing.
|
||||
|
Loading…
Reference in New Issue
Block a user