Skip to content

Both branches of if-then-else are identical in pkg/ruler/ruler_test.go #6287

@chavacava

Description

@chavacava

Both branches of if-then-else are identical in

cortex/pkg/ruler/ruler_test.go

Lines 1073 to 1077 in 275a5bf

if tc.shardingStrategy == util.ShardingStrategyShuffle {
require.Equal(t, int32(tc.expectedClientCallCount), mockPoolClient.numberOfCalls.Load())
} else {
require.Equal(t, int32(tc.expectedClientCallCount), mockPoolClient.numberOfCalls.Load())
}

Found with revive

Metadata

Metadata

Labels

component/rulesBits & bobs todo with rules and alerts: the ruler, config service etc.good first issueThese are great first issues. If you are looking for a place to start, start here!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions