Skip to content

Commit

Permalink
quell linters
Browse files Browse the repository at this point in the history
  • Loading branch information
stoksc committed Nov 21, 2024
1 parent fdf07ba commit bdaa436
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions master/internal/rm/kubernetesrm/jobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ func TestListPodsInAllNamespaces(t *testing.T) {
},
}

var expectedPods []k8sV1.Pod = append(detPods, outsidePod)
//nolint:gocritic
expectedPods := append(detPods, outsidePod)
expectedPodList := k8sV1.PodList{Items: expectedPods}
emptyNS.On("List", mock.Anything, mock.Anything).Once().
Return(&k8sV1.PodList{Items: expectedPods}, nil)
Expand Down Expand Up @@ -203,7 +204,8 @@ func TestHealthStatus(t *testing.T) {
},
}

var expectedPods []k8sV1.Pod = append(detPods, outsidePod)
//nolint:gocritic
expectedPods := append(detPods, outsidePod)
emptyNS.On("List", mock.Anything, mock.Anything).Once().
Return(&k8sV1.PodList{Items: expectedPods}, nil)

Expand Down

0 comments on commit bdaa436

Please sign in to comment.