chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.15.0 (#41)

This commit is contained in:
renovate[bot] 2024-11-02 22:10:18 +01:00 committed by GitHub
parent 4e24d83c7a
commit 489ece1798
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 110 additions and 75 deletions

View file

@ -89,7 +89,7 @@ func initClient(cmd *cobra.Command, _ []string) {
opts := []hcloud.ClientOption{
hcloud.WithToken(os.Getenv("HCLOUD_TOKEN")),
hcloud.WithApplication("hcloud-upload-image", version.Version),
hcloud.WithPollBackoffFunc(backoff.ExponentialBackoffWithLimit(2, 1*time.Second, 30*time.Second)),
hcloud.WithPollOpts(hcloud.PollOpts{BackoffFunc: backoff.ExponentialBackoffWithLimit(2, 1*time.Second, 30*time.Second)}),
}
if os.Getenv("HCLOUD_DEBUG") != "" || verbose >= 2 {