Skip to content

Commit 443b2bc

Browse files
Remove unnecessary logging refresh time
1 parent d4c4b24 commit 443b2bc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/loader/configuration_setting_loader.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ func (csl *ConfigurationSettingLoader) CheckPageETags(ctx context.Context, eTags
360360
if settingsClient == nil {
361361
settingsClient = &EtagSettingsClient{
362362
etags: eTags,
363-
refreshInterval: csl.Spec.Configuration.Refresh.Interval,
364363
}
365364
}
366365

internal/loader/settings_client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ type SettingsResponse struct {
2323

2424
type EtagSettingsClient struct {
2525
etags map[acpv1.Selector][]*azcore.ETag
26-
refreshInterval string
2726
}
2827

2928
type SentinelSettingsClient struct {
@@ -84,7 +83,7 @@ func (s *EtagSettingsClient) GetSettings(ctx context.Context, client *azappconfi
8483
}
8584
}
8685

87-
klog.V(3).Infof("There's no change to the selected key values, just exit and revisit them after %s", s.refreshInterval)
86+
klog.V(3).Infof("There's no change to the selected key values, just exit and revisit them after refresh interval")
8887
// no change in the settings, return nil etags
8988
return settingsResponse, nil
9089
}

0 commit comments

Comments
 (0)