mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.15.0 (#41)
This commit is contained in:
parent
4e24d83c7a
commit
489ece1798
7 changed files with 110 additions and 75 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue