Skip to content

Commit

Permalink
Address maintidx linter violations
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Jan 7, 2025
1 parent 072420b commit b436464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/agent/controller/clusterip_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var _ = Describe("ClusterIP Service export", func() {
Describe("with multiple service EndpointSlices", testClusterIPServiceWithMultipleEPS)
})

//nolint:maintidx // This function composes test cases so ignore low maintainability index.
func testClusterIPServiceInOneCluster() {
var t *testDriver

Expand Down Expand Up @@ -502,6 +503,7 @@ func testClusterIPServiceInOneCluster() {
})
}

//nolint:maintidx // This function composes test cases so ignore low maintainability index.
func testClusterIPServiceInTwoClusters() {
noConflictCondition := &mcsv1a1.ServiceExportCondition{
Type: mcsv1a1.ServiceExportConflict,
Expand Down

0 comments on commit b436464

Please sign in to comment.