From d3966856f6cd68d7d6fb86b5a03ac09296924751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 5 May 2024 01:08:03 +0200 Subject: [PATCH] fix: update user-agent in CLI --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index e654efc..3d0b247 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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)), }