mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28130 from tophj-ibm/change-jq-syntax-for-old-version-support
[integration-cli] changes syntax to support older version of jq
This commit is contained in:
commit
3a5a0ef1d4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue