Code Review
/
oom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8f72e1e
)
Fix demo-k8
61/44261/1
author
Brian Freeman
<bf1936@att.com>
Mon, 23 Apr 2018 22:24:35 +0000
(17:24 -0500)
committer
Brian Freeman
<bf1936@att.com>
Mon, 23 Apr 2018 22:24:45 +0000
(17:24 -0500)
Issue-ID: OOM-794
Change-Id: I07674d726496f7d30350033b4a3ad0ad337f4b28
Signed-off-by: Brian Freeman <bf1936@att.com>
kubernetes/robot/demo-k8s.sh
patch
|
blob
|
history
diff --git
a/kubernetes/robot/demo-k8s.sh
b/kubernetes/robot/demo-k8s.sh
index
d5e7a03
..
de33627
100755
(executable)
--- a/
kubernetes/robot/demo-k8s.sh
+++ b/
kubernetes/robot/demo-k8s.sh
@@
-36,7
+36,11
@@
function usage
}
# Set the defaults
-if [ $# -le 2 ];then
+
+echo "Number of parameters:"
+echo $#
+
+if [ $# -lt 2 ];then
usage
exit
fi
@@
-47,9
+51,11
@@
shift
##
## if more than 1 tag is supplied, the must be provided with -i or -e
##
-while [ $# -gt
1
]
+while [ $# -gt
0
]
do
- key="$2"
+ key="$1"
+ echo "KEY:"
+ echo $key
case $key in
init_robot)