Skip to content

Commit

Permalink
Fix deprecation lint staticcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssncferreira committed Jan 26, 2022
1 parent 9098a49 commit 8399387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/querier/queryrange/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func WithDefaultLimits(l Limits, conf queryrangebase.Config) Limits {
}

// TODO(ssncferreira): Remove once cortex' split_queries_by_interval is fully deprecated in the next major release
// lint:ignore faillint
// nolint:staticcheck
if conf.SplitQueriesByInterval != 0 {
level.Warn(util_log.Logger).Log("deprecated", "yaml flag 'query_range.split_queries_by_interval' is deprecated, use yaml flag 'limits_config.split_queries_by_interval' or CLI flag -querier.split-queries-by-interval instead.",
"split_queries_by_interval", l.QuerySplitDurationDefault())
Expand Down

0 comments on commit 8399387

Please sign in to comment.