зеркало из https://github.com/Azure/ARO-RP.git
Remove erroneous -n causing the log message to be read as a variable (#3896)
hack/util.sh: line 14: would: unbound variable occurs in it's current state.
This commit is contained in:
Родитель
f7404a1877
Коммит
0362cb5565
|
@ -42,7 +42,7 @@ main() {
|
|||
|
||||
if [ "$( $KUBECTL get namespace $HIVE_OPERATOR_NS -o yaml 2>/dev/null | wc -l )" -ne 0 ]; then
|
||||
log "hive is already installed in namespace $HIVE_OPERATOR_NS"
|
||||
log -n "would you like to reapply the configs? (y/N): "
|
||||
log "would you like to reapply the configs? (y/N): "
|
||||
read answer
|
||||
if [[ "$answer" != "y" ]]; then
|
||||
exit
|
||||
|
|
Загрузка…
Ссылка в новой задаче