dyndns: add log message when records are updated
Now both cases are covered.
This commit is contained in:
parent
decb0978d7
commit
aa14d119e6
@ -59,5 +59,9 @@ func Update(ctx context.Context, zone string, record libdns.Record, provider Rec
|
|||||||
if _, err := provider.SetRecords(ctx, zone, updated); err != nil {
|
if _, err := provider.SetRecords(ctx, zone, updated); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
log.Printf("updated record: %s %s %s",
|
||||||
|
record.Name,
|
||||||
|
record.Type,
|
||||||
|
record.Value)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user