[VOL-2870]v2
- Enable YAML/JSON linting
- Fix formatting in files
- Fix minor shellcheck issue on voltha tool
Change-Id: I6d29830a7b60c32e09aca49b22125c350c4d1693
diff --git a/voltha b/voltha
index 97e2f24..a830ad4 100755
--- a/voltha
+++ b/voltha
@@ -1101,7 +1101,7 @@
espin - "$THEX"
>&2 echo -e "${RED}${BOLD}${ERROR}ERROR: unable to download kubectl: $(tail "$ERR_OUT")${NORMAL}"
cat "$ERR_OUT" >> "$LOG"
- rm -rf $"ERR_OUT" "$GOPATH/bin/kubectl"
+ rm -rf "$ERR_OUT" "$GOPATH/bin/kubectl"
exit 1
fi
(set -x; chmod 755 "$GOPATH/bin/kubectl" >>"$LOG" 2>&1) >>"$LOG" 2>&1
@@ -1139,7 +1139,7 @@
espin - "$THEX"
>&2 echo -e "${RED}${BOLD}${ERROR}ERROR: unable to download kind: $(tail "$ERR_OUT")${NORMAL}"
cat "$ERR_OUT" >> "$LOG"
- rm -rf $"ERR_OUT" "$GOPATH/bin/kind"
+ rm -rf "$ERR_OUT" "$GOPATH/bin/kind"
exit 1
fi
(set -x; chmod 755 "$GOPATH/bin/kind" >>"$LOG" 2>&1) >>"$LOG" 2>&1