This commit is contained in:
parent
7a8ab362db
commit
557350425e
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ configure_many() {
|
|||
ip=$3
|
||||
type=$4
|
||||
|
||||
record_id=$(echo "$domain_records" | jq ".data[] | select(.type == \"$type\" and .name == \"$domain\" and .content = \"$ip\") | .id")
|
||||
record_data=$(echo "$domain_records" | jq ".data[] | select(.type == \"$type\" and .name == \"$domain\" and .content = \"$ip\") | .content")
|
||||
record_id=$(echo "$domain_records" | jq ".data[] | select(.type == \"$type\" and .name == \"$domain\" and .content == \"$ip\") | .id")
|
||||
record_data=$(echo "$domain_records" | jq ".data[] | select(.type == \"$type\" and .name == \"$domain\" and .content == \"$ip\") | .content")
|
||||
|
||||
# re-enable glob expansion
|
||||
set +f
|
||||
|
|
Loading…
Reference in a new issue