forked from TrueCloudLab/lego
gcloud: fix zone visibility. (#875)
This commit is contained in:
parent
007888f9dc
commit
29c63545ce
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ func (d *DNSProvider) getHostedZone(domain string) (string, error) {
|
|||
}
|
||||
|
||||
for _, z := range zones.ManagedZones {
|
||||
if z.Visibility == "public" {
|
||||
if z.Visibility == "public" || z.Visibility == "" {
|
||||
return z.Name, nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue