mirror of https://github.com/kubernetes/kops.git
Add diagnostic message when updating DNS
In debugging, it would have been useful to see the old & new values sometimes
This commit is contained in:
parent
64924d81e7
commit
43eb686f7c
|
@ -257,6 +257,8 @@ func (c *DNSController) runOnce() error {
|
|||
ttl := DefaultTTL
|
||||
glog.Infof("Using default TTL of %v", ttl)
|
||||
|
||||
glog.V(4).Infof("updating records for %s: %v -> %v", k, newValues, oldValues)
|
||||
|
||||
err := op.updateRecords(k, newValues, int64(ttl.Seconds()))
|
||||
if err != nil {
|
||||
glog.Infof("error updating records for %s: %v", k, err)
|
||||
|
|
Loading…
Reference in New Issue