1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Fix various logging lines in GoogleCloudProvider.

This commit is contained in:
Petter Hassberg
2017-10-14 08:06:06 +02:00
parent f50db5e02b
commit f45ff51062

View File

@@ -106,7 +106,6 @@ class GoogleCloudProvider(BaseProvider):
for i in range(120):
gcloud_changes.reload()
self.log.debug("Waiting for changes to complete")
# https://cloud.google.com/dns/api/v1/changes#resource
# status can be one of either "pending" or "done"
if gcloud_changes.status != 'pending':
@@ -154,8 +153,7 @@ class GoogleCloudProvider(BaseProvider):
# add this new zone to the list of zones.
self._gcloud_zones[gcloud_zone.dns_name] = gcloud_zone
self.log.info("Created zone %s. Fqdn %s." %
(zone_name, dns_name))
self.log.info("Created zone {}. Fqdn {}.".format(zone_name, dns_name))
return gcloud_zone