Unverified Commit 927369b0 authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #3772 from retoo/bugfix/dns-gcloud-fix-format-change

dns_gcloud: allowrecord-sets list output to be separated by 'semicolon'
parents 759cdf10 401fd37e
......@@ -163,5 +163,8 @@ _dns_gcloud_get_rrdatas() {
return 1
fi
ttl=$(echo "$rrdatas" | cut -f1)
rrdatas=$(echo "$rrdatas" | cut -f2 | sed 's/","/"\n"/g')
# starting with version 353.0.0 gcloud seems to
# separate records with a semicolon instead of commas
# see also https://cloud.google.com/sdk/docs/release-notes#35300_2021-08-17
rrdatas=$(echo "$rrdatas" | cut -f2 | sed 's/"[,;]"/"\n"/g')
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment