Skip to content

Commit 20958ea

Browse files
authored
Make sure the fake client is created with the correct scheme (#1724)
1 parent 70675fd commit 20958ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mock-kubernetes-client/client/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ func (client *MockClient) setNewFakeClient() {
143143
})
144144
}
145145

146+
builder.WithScheme(client.scheme)
146147
client.fakeClient = builder.Build()
147148
}
148149

0 commit comments

Comments
 (0)