This commit is contained in:
techknowlogick
2024-09-09 22:23:07 -04:00
repo.diff.committed_by GitHub
repo.diff.parent 1620e3f03b
repo.diff.commit d9a7748cdc
repo.diff.stats_desc%!(EXTRA int=27, int=71, int=58)

3
modules/cache/context.go repo.diff.vendored
repo.diff.view_file

@@ -109,7 +109,8 @@ func WithCacheContext(ctx context.Context) context.Context {
return ctx
}
}
return context.WithValue(ctx, cacheContextKey, &cacheContext{
// FIXME: review the use of this nolint directive
return context.WithValue(ctx, cacheContextKey, &cacheContext{ //nolint:staticcheck
data: make(map[any]map[any]any),
created: timeNow(),
})