Skip to content

Commit 2a998a1

Browse files
bin: fix ck8s ops commands after changes
1 parent ff9ebac commit 2a998a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/ck8s

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ ops)
9696
case "${2}" in
9797
kubectl | kubecolor | helm | helmfile | velero)
9898
[[ "${3}" =~ ^(wc|sc)$ ]] || usage
99-
shift 2
100-
"${here}/ops.bash" "${2}" "${@}"
99+
command="${2}"
100+
cluster="${3}"
101+
shift 3
102+
"${here}/ops.bash" "${command}" "${cluster}" "${@}"
101103
;;
102104
*) usage ;;
103105
esac

0 commit comments

Comments
 (0)