Skip to content

Commit

Permalink
Use binary operator for checking stauts of semver command
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Feb 12, 2018
1 parent 3e9418a commit f933585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/deploy/stash.sh
Expand Up @@ -51,7 +51,7 @@ export STASH_UNINSTALL=0

KUBE_APISERVER_VERSION=$(kubectl version -o=json | $ONESSL jsonpath '{.serverVersion.gitVersion}')
$ONESSL semver --check='>=1.9.0' $KUBE_APISERVER_VERSION
if [ -eq "$?" 0 ]; then
if [ $? -eq 0 ]; then
export STASH_ENABLE_ADMISSION_WEBHOOK=true
fi

Expand Down

0 comments on commit f933585

Please sign in to comment.