Skip to content

Commit

Permalink
docs(action): fix link to WaitForFunc (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote committed May 6, 2024
1 parent 2760dd9 commit 94229eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hcloud/action_waiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *ActionClient) WaitForFunc(ctx context.Context, handleUpdate func(update
// If a single action fails, the function will stop waiting and the error set in the
// action will be returned as an [ActionError].
//
// For more flexibility, see the [WaitForFunc] function.
// For more flexibility, see the [ActionClient.WaitForFunc] function.
func (c *ActionClient) WaitFor(ctx context.Context, actions ...*Action) error {
return c.WaitForFunc(
ctx,
Expand Down
2 changes: 1 addition & 1 deletion hcloud/zz_action_client_iface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94229eb

Please sign in to comment.