From 2a998a15e99ba61d5ac068bcffcffde087dd7aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20B=C3=A4ckman?= Date: Mon, 23 Dec 2024 13:51:19 +0100 Subject: [PATCH] bin: fix ck8s ops commands after changes --- bin/ck8s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ck8s b/bin/ck8s index 146fe01c3..05a434d51 100755 --- a/bin/ck8s +++ b/bin/ck8s @@ -96,8 +96,10 @@ ops) case "${2}" in kubectl | kubecolor | helm | helmfile | velero) [[ "${3}" =~ ^(wc|sc)$ ]] || usage - shift 2 - "${here}/ops.bash" "${2}" "${@}" + command="${2}" + cluster="${3}" + shift 3 + "${here}/ops.bash" "${command}" "${cluster}" "${@}" ;; *) usage ;; esac