From 90fd82cd543757cffdda1927104805ab7e534e86 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 23 Jul 2024 16:20:43 +0200 Subject: [PATCH] fix: wrong client option name for poll backoff func --- internal/state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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