Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "[DCAEGEN2] Update PM-Mapper image to 1.7.1"
[oom.git]
/
kubernetes
/
helm
/
plugins
/
undeploy
/
undeploy.sh
diff --git
a/kubernetes/helm/plugins/undeploy/undeploy.sh
b/kubernetes/helm/plugins/undeploy/undeploy.sh
index
35fc4ca
..
a3b0e3c
100755
(executable)
--- a/
kubernetes/helm/plugins/undeploy/undeploy.sh
+++ b/
kubernetes/helm/plugins/undeploy/undeploy.sh
@@
-29,9
+29,9
@@
undeploy() {
done
}
-if [
$# < 1
]; then
+if [
-z "$1"
]; then
echo "Error: command 'undeploy' requires a release name"
- exit
0
+ exit
1
fi
case "${1:-"help"}" in
@@
-45,7
+45,7
@@
case "${1:-"help"}" in
usage
;;
*)
- undeploy $1 $
{@:2}
+ undeploy $1 $
(echo ${@} | sed 's/^ *[^ ]* *//')
;;
esac