Skip to content

Commit

Permalink
Make sure the fake client is created with the correct scheme (#1724)
Browse files Browse the repository at this point in the history
  • Loading branch information
johscheuer authored Jul 6, 2023
1 parent 70675fd commit 20958ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mock-kubernetes-client/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func (client *MockClient) setNewFakeClient() {
})
}

builder.WithScheme(client.scheme)
client.fakeClient = builder.Build()
}

Expand Down

0 comments on commit 20958ea

Please sign in to comment.