kubectl-plugin example: Double-quote to prevent word splitting (#18081)
See: https://www.shellcheck.net/wiki/SC2086 Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
93eae7bf31
commit
f3cde84ea7
@@ -78,7 +78,7 @@ fi
|
|||||||
# optional argument handling
|
# optional argument handling
|
||||||
if [[ "$1" == "config" ]]
|
if [[ "$1" == "config" ]]
|
||||||
then
|
then
|
||||||
echo $KUBECONFIG
|
echo "$KUBECONFIG"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user