fix lint
This commit is contained in:
@@ -236,6 +236,7 @@ func (srv *CleanUpService) shouldCleanupTempFile(filemtime time.Time, now time.T
|
|||||||
|
|
||||||
func (srv *CleanUpService) deleteExpiredSnapshots(ctx context.Context) {
|
func (srv *CleanUpService) deleteExpiredSnapshots(ctx context.Context) {
|
||||||
logger := srv.log.FromContext(ctx)
|
logger := srv.log.FromContext(ctx)
|
||||||
|
//nolint:staticcheck // not yet migrated to OpenFeature
|
||||||
if srv.Features.IsEnabledGlobally(featuremgmt.FlagKubernetesSnapshots) {
|
if srv.Features.IsEnabledGlobally(featuremgmt.FlagKubernetesSnapshots) {
|
||||||
srv.deleteKubernetesExpiredSnapshots(ctx)
|
srv.deleteKubernetesExpiredSnapshots(ctx)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user