Skip to content

Commit

Permalink
Prefer [[ over [
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmoisey committed Sep 24, 2024
1 parent dc971e7 commit 6292c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/hack/vpa-process-yamls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fi

for i in $COMPONENTS; do
if [ $i == admission-controller-deployment ] ; then
if [ ${ACTION} == create -o ${ACTION} == update] ; then
if [[ ${ACTION} == create || ${ACTION} == update ]] ; then
# Allow gencerts to fail silently if certs already exist
(bash ${SCRIPT_ROOT}/pkg/admission-controller/gencerts.sh || true)
elif [ ${ACTION} == delete ] ; then
Expand Down

0 comments on commit 6292c71

Please sign in to comment.