Skip to content

Commit 1368469

Browse files
authored
Update fake client doc.go to avoid the deprecated method.
1 parent a784ee7 commit 1368469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/fake/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Package fake provides a fake client for testing.
2020
A fake client is backed by its simple object store indexed by GroupVersionResource.
2121
You can create a fake client with optional objects.
2222
23-
client := NewFakeClientWithScheme(scheme, initObjs...) // initObjs is a slice of runtime.Object
23+
client := NewClientBuilder().WithScheme(scheme).Build()
2424
2525
You can invoke the methods defined in the Client interface.
2626

0 commit comments

Comments
 (0)