From 29aae753299981140550397105a3b61c0ea6d38e Mon Sep 17 00:00:00 2001 From: Masahiro Sano Date: Tue, 24 Feb 2015 23:20:45 +0900 Subject: [PATCH] fix missing command in test-cmd.sh --- hack/test-cmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/test-cmd.sh b/hack/test-cmd.sh index 03a6ab91668..b21c15475e2 100755 --- a/hack/test-cmd.sh +++ b/hack/test-cmd.sh @@ -151,7 +151,7 @@ for version in "${kube_api_versions[@]}"; do kubectl get pods "${kube_flags[@]}" -lname=redis-master | grep -q 'redis-master' [ ! $(kubectl delete pods "${kube_flags[@]}" ) ] kubectl get pods "${kube_flags[@]}" -lname=redis-master | grep -q 'redis-master' - [ ! $(delete pods --all pods -l name=redis-master "${kube_flags[@]}" ) ] # not --all and label selector together + [ ! $(kubectl delete pods --all pods -l name=redis-master "${kube_flags[@]}" ) ] # not --all and label selector together kubectl delete --all pods "${kube_flags[@]}" # --all remove all the pods kubectl create -f examples/guestbook/redis-master.json "${kube_flags[@]}" kubectl create -f examples/redis/redis-proxy.yaml "${kube_flags[@]}"