mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
Add a log line when no changes on cache provider
Change-Id: I13da2aa28eef3e2c8e81b502321c4dc137087b2d
This commit is contained in:
parent
eb07eb9905
commit
82c6983fa3
@ -72,6 +72,7 @@ func (c *CachedProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, err
|
||||
}
|
||||
func (c *CachedProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error {
|
||||
if !changes.HasChanges() {
|
||||
log.Info("Records cache provider: no changes to be applied")
|
||||
return nil
|
||||
}
|
||||
c.Reset()
|
||||
|
Loading…
Reference in New Issue
Block a user