Browse Source
Remove here string
CI doesn't want here strings
dnsconf
chasefox
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_gcloud.sh
|
@ -139,7 +139,7 @@ _dns_gcloud_find_zone() { |
|
|
--format="value(name, dnsName)" \ |
|
|
--format="value(name, dnsName)" \ |
|
|
--filter="$filter" \ |
|
|
--filter="$filter" \ |
|
|
| while read -r dnsName name; do |
|
|
| while read -r dnsName name; do |
|
|
printf "%s\t%s\t%s\n" "$(awk -F"." '{print NF-1}' <<< "$name")" "$dnsName" "$name" |
|
|
|
|
|
|
|
|
printf "%s\t%s\t%s\n" "$(echo $name | awk -F"." '{print NF-1}')" "$dnsName" "$name" |
|
|
done \ |
|
|
done \ |
|
|
| sort -n -r | _head_n 1 | cut -f2,3 | grep '^.*'); then |
|
|
| sort -n -r | _head_n 1 | cut -f2,3 | grep '^.*'); then |
|
|
_err "_dns_gcloud_find_zone: Can't find a matching managed zone! Perhaps wrong project or gcloud credentials?" |
|
|
_err "_dns_gcloud_find_zone: Can't find a matching managed zone! Perhaps wrong project or gcloud credentials?" |
|
|