Skip to content

Commit

Permalink
docs(action): fix link to WaitForFunc (#429) [Backport release-1.x] (#…
Browse files Browse the repository at this point in the history
…434)

Link was not working properly in current `main`:

https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud@v2.7.3-0.20240503164107-1e3fa7033d8a#ActionClient.WaitFor

(cherry picked from commit 94229eb)

BEGIN_COMMIT_OVERRIDE
docs(action): fix link to WaitForFunc
END_COMMIT_OVERRIDE

Co-authored-by: Julian Tölle <julian.toelle@hetzner-cloud.de>
  • Loading branch information
jooola and apricote committed May 6, 2024
1 parent c4d8be8 commit c275656
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c275656

Please sign in to comment.