From a2dc0a4a1f36e1527807c92b188c13be1970afad Mon Sep 17 00:00:00 2001 From: the-redback Date: Mon, 8 Oct 2018 17:29:35 +0600 Subject: [PATCH] Fix addition expression on installer script --- hack/deploy/kubedb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/deploy/kubedb.sh b/hack/deploy/kubedb.sh index 44c012bee..4135d9c6b 100755 --- a/hack/deploy/kubedb.sh +++ b/hack/deploy/kubedb.sh @@ -307,7 +307,7 @@ if [ "$KUBEDB_UNINSTALL" -eq 1 ]; then namespace="default" if [[ $crd != *"catalog.kubedb.com" ]]; then namespace=${pairs[$i + 1]} - i+=1 + i=$((i + 1)) fi # remove finalizers kubectl patch ${crd} $name -n $namespace -p '{"metadata":{"finalizers":[]}}' --type=merge || true