Skip to content

Commit

Permalink
Merge pull request kubernetes#5582 from hetznercloud/fix-version
Browse files Browse the repository at this point in the history
fix(ca/hetzner): specify application name & version
  • Loading branch information
k8s-ci-robot authored Mar 20, 2023
2 parents 785444a + 0ac54e6 commit 137bcf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cluster-autoscaler/cloudprovider/hetzner/hetzner_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import (
apiv1 "k8s.io/api/core/v1"

"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/hetzner/hcloud-go/hcloud"
"k8s.io/autoscaler/cluster-autoscaler/version"
)

var (
version = "dev"
httpClient = &http.Client{
Transport: instrumentedRoundTripper(),
}
Expand Down Expand Up @@ -71,6 +71,7 @@ func newManager() (*hetznerManager, error) {
client := hcloud.NewClient(
hcloud.WithToken(token),
hcloud.WithHTTPClient(httpClient),
hcloud.WithApplication("cluster-autoscaler", version.ClusterAutoscalerVersion),
)

ctx := context.Background()
Expand Down

0 comments on commit 137bcf1

Please sign in to comment.