Unverified Commit ae0e908b authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub
Browse files

Merge pull request #760 from AdamDang/patch-1

Fix some typos in  returned messages in dyn.go
parents 21b7c3a6 40d11374
......@@ -564,7 +564,7 @@ func (d *dynProviderState) commit(client *dynect.Client) error {
err = apiRetryLoop(func() error {
return client.Do("PUT", fmt.Sprintf("Zone/%s/", zone), &zonePublish, &response)
})
log.Infof("Commiting changes for zone %s: %+v", zone, errorOrValue(err, &response))
log.Infof("Committing changes for zone %s: %+v", zone, errorOrValue(err, &response))
}
switch len(errs) {
......@@ -597,7 +597,7 @@ func (d *dynProviderState) Records() ([]*endpoint.Endpoint, error) {
serial, err := d.fetchZoneSerial(client, zone)
if err != nil {
if strings.Index(err.Error(), "404 Not Found") >= 0 {
log.Infof("Ignore zone %s as it does not exists", zone)
log.Infof("Ignore zone %s as it does not exist", zone)
continue
}
......
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