mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
fix: update user-agent in CLI (#5)
This commit is contained in:
parent
d7cdf210d2
commit
b17857c1fe
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ func newClient(ctx context.Context) *hcloudimages.Client {
|
|||
|
||||
opts := []hcloud.ClientOption{
|
||||
hcloud.WithToken(os.Getenv("HCLOUD_TOKEN")),
|
||||
hcloud.WithApplication("hcloud-image", ""),
|
||||
hcloud.WithApplication("hcloud-upload-image", version.Version),
|
||||
hcloud.WithPollBackoffFunc(backoff.ExponentialBackoffWithLimit(2, 1*time.Second, 30*time.Second)),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue