Skip to content

Commit 16c9974

Browse files
authored
Use WithObj
1 parent 1368469 commit 16c9974

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 := NewClientBuilder().WithScheme(scheme).Build()
23+
client := NewClientBuilder().WithScheme(scheme).WithObj(initObjs...).Build()
2424
2525
You can invoke the methods defined in the Client interface.
2626

0 commit comments

Comments
 (0)