mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 18:52:38 +00:00
More cli sanity verifications
This commit is contained in:
@@ -32,9 +32,12 @@ clicheck=$(kube::util::find-binary "clicheck")
|
||||
|
||||
if ! output=`$clicheck 2>&1`
|
||||
then
|
||||
echo "FAILURE: CLI is not following one or more required conventions:"
|
||||
echo "$output"
|
||||
echo
|
||||
echo "FAILURE: CLI is not following one or more required conventions."
|
||||
exit 1
|
||||
else
|
||||
echo "$output"
|
||||
echo
|
||||
echo "SUCCESS: CLI is following all tested conventions."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user