diff --git a/internal/state/state.go b/internal/state/state.go index 96089182..7d2cc68f 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -117,7 +117,7 @@ func (c *state) newClient() (hcapi2.Client, error) { } if pollInterval > 0 { - opts = append(opts, hcloud.WithBackoffFunc(hcloud.ConstantBackoff(pollInterval))) + opts = append(opts, hcloud.WithPollBackoffFunc(hcloud.ConstantBackoff(pollInterval))) } return hcapi2.NewClient(opts...), nil