mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #4436 from EricMountain-1A/noargs-kubectl-create-test-fix
Fix "kubectl create with no args" test to verify exit code
This commit is contained in:
commit
866135e52c
@ -128,7 +128,7 @@ for version in "${kube_api_versions[@]}"; do
|
||||
fi
|
||||
|
||||
# passing no arguments to create is an error
|
||||
[ ! $(kubectl create) ]
|
||||
! kubectl create
|
||||
|
||||
kube::log::status "Testing kubectl(${version}:pods)"
|
||||
kubectl get pods "${kube_flags[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user