[bugfix] typo of alternative expansion

This commit is contained in:
Klesh Wong 2021-01-18 00:29:27 +08:00
parent 593a6b3f86
commit 980b9be257

2
bin/kp
View File

@ -6,7 +6,7 @@ CTN=$3
case $1 in case $1 in
sh) sh)
kubectl exec -it $POD ${CTN+"-c$CTN"} -- sh kubectl exec -it $POD ${CTN:+"-c $CTN"} -- /bin/sh
;; ;;
d) # describe pod d) # describe pod
kubectl describe pod $POD kubectl describe pod $POD