Fix -D option on build_cni_daemonset_image
-D/--no-daemon option in tools/build_cni_daemonset_image should not require a parameter. This commit fixes that mistake and the HA gate. Change-Id: I439d75436e4fdf3671e54d979fb45cf8d6193ee1 Closes-Bug: 1807380
This commit is contained in:
parent
a84b3930d5
commit
2b319218b8
|
@ -40,7 +40,7 @@ build_cmd="docker build"
|
|||
|
||||
OPTIND=1
|
||||
|
||||
while getopts "hf:b:c:t:D:p" opt; do
|
||||
while getopts "hf:b:c:t:Dp" opt; do
|
||||
case "$opt" in
|
||||
"h") print_usage; exit 0 ;;
|
||||
"D") daemonized=False ;;
|
||||
|
|
Loading…
Reference in New Issue