[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
sh)
kubectl exec -it $POD ${CTN+"-c$CTN"} -- sh
kubectl exec -it $POD ${CTN:+"-c $CTN"} -- /bin/sh
;;
d) # describe pod
kubectl describe pod $POD