Skip to content

Commit

Permalink
Add a log line when no changes on cache provider
Browse files Browse the repository at this point in the history
Change-Id: I13da2aa28eef3e2c8e81b502321c4dc137087b2d
  • Loading branch information
tjamet committed Feb 13, 2023
1 parent ef5614f commit 8dcbacb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provider/cached_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8dcbacb

Please sign in to comment.