Merge pull request #28130 from tophj-ibm/change-jq-syntax-for-old-version-support
[integration-cli] changes syntax to support older version of jq Upstream-commit: 3a5a0ef1d4df99452da3f21955030abaf29a2642 Component: engine
This commit is contained in:
@ -38,7 +38,7 @@ case $1 in
|
||||
|
||||
# Remove the server from the list
|
||||
list=$(<$TEMP/$listFile)
|
||||
echo "$list" | jq "del(.\"${in}\")" > $TEMP/$listFile
|
||||
echo "$list" | jq "del(.[\"${in}\"])" > $TEMP/$listFile
|
||||
;;
|
||||
"list")
|
||||
if [[ ! -f $TEMP/$listFile ]]; then
|
||||
|
||||
Reference in New Issue
Block a user