Skip to content

Commit 45dd1c9

Browse files
committed
More lint and test fixes
Signed-off-by: Jonathan Ogilvie <[email protected]>
1 parent 9fe498d commit 45dd1c9

File tree

4 files changed

+210
-164
lines changed

4 files changed

+210
-164
lines changed

controller/appcontroller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3017,7 +3017,7 @@ func TestConversionWebhookFailureIsolation(t *testing.T) {
30173017
customMockStateCache.On("GetNamespaceTopLevelResources", mock.Anything, mock.Anything).Return(nil, conversionError)
30183018
customMockStateCache.On("IterateHierarchyV2", mock.Anything, mock.Anything, mock.Anything).Return(conversionError)
30193019
customMockStateCache.On("IterateResources", mock.Anything, mock.Anything).Return(nil)
3020-
3020+
30213021
// Set up taint manager methods
30223022
customMockStateCache.On("GetTaintedGVKs", mock.Anything).Return([]string{}, nil)
30233023

controller/cache/mocks/LiveStateCache.go

Lines changed: 202 additions & 156 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)