gcloud: fix zone visibility. (#875)

This commit is contained in:
Ludovic Fernandez 2019-05-03 01:27:46 +02:00 committed by GitHub
parent 007888f9dc
commit 29c63545ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}