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 Aug 14, 2024
1 parent eb07eb9 commit 82c6983
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 82c6983

Please sign in to comment.