Add a log line when no changes on cache provider

Change-Id: I13da2aa28eef3e2c8e81b502321c4dc137087b2d
This commit is contained in:
Thibault Jamet 2023-02-13 21:37:08 +01:00
parent eb07eb9905
commit 82c6983fa3
No known key found for this signature in database
GPG Key ID: 9D28A304A3810C17

View File

@ -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()