small tweaks
This commit is contained in:
@@ -57,6 +57,7 @@ func (c NsUpdateStruct) Update(record, recordType, value string) error {
|
||||
if err != nil {
|
||||
config.Cfg.Log.Info("unable to get existing record", "record", record, "error", err)
|
||||
}
|
||||
config.Cfg.Log.Debug("comparing records", "old value", r, "new value", value)
|
||||
|
||||
if r != value {
|
||||
config.Cfg.Log.Debug("deleting record", "record", record)
|
||||
|
Reference in New Issue
Block a user