Skip to content

Commit

Permalink
Merge pull request #47 from lestrrat-go/update-example
Browse files Browse the repository at this point in the history
Update example doc
  • Loading branch information
lestrrat authored Oct 9, 2024
2 parents fbcf0c4 + 5bccc4f commit 7382973
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func ExampleClient() {

// Add the resource to the controller, so that it starts fetching.
// By default, a call to `Add()` will block until the first fetch
// succeeds, but you can skip this if you specify the `WithWaitReady(false)`
// succeeds, via an implicit call to `r.Ready()`
// You can change this behavior if you specify the `WithWaitReady(false)`
// option.
ctrl.Add(ctx, r)

Expand Down

0 comments on commit 7382973

Please sign in to comment.