Skip to content

Commit 4fc9e2b

Browse files
committed
Remove oc deprecated flags from script
1 parent 71a82f1 commit 4fc9e2b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

hack/testing/util.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ OC_BINARY=$( type -p oc )
1212
# and I'm hoping request-timeout will help, and maybe increasing the loglevel
1313
# will give us some clues
1414
oc() {
15-
local oclogdir=${OC_LOG_DIR:-${ARTIFACT_DIR:-/tmp}/oclogs}
16-
if [ ! -d $oclogdir ] ; then
17-
mkdir -p $oclogdir
18-
fi
19-
$OC_BINARY --request-timeout=15s --logtostderr=false --loglevel=2 --log_dir=$oclogdir "$@"
15+
$OC_BINARY --request-timeout=15s --loglevel=2 "$@"
2016
}
2117

2218
if [ $(id -u) = 0 ] ; then

0 commit comments

Comments
 (0)