Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 43e764b

Browse files
committed
Go back to having the clientName
and clientUAFormat as vars. Signed-off-by: Chris Privitere <[email protected]>
1 parent 126f72c commit 43e764b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cloud/packet/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ import (
3737
)
3838

3939
const (
40-
clientName = "CAPP-v1beta1"
41-
clientUAFormat = "cluster-api-provider-packet/%s %s"
4240
apiTokenVarName = "PACKET_API_KEY" //nolint:gosec
4341
ipxeOS = "custom_ipxe"
4442
envVarLocalASN = "METAL_LOCAL_ASN"
@@ -47,6 +45,8 @@ const (
4745
)
4846

4947
var (
48+
clientName = "CAPP-v1beta1"
49+
clientUAFormat = "cluster-api-provider-packet/%s %s"
5050
ErrControlPlanEndpointNotFound = errors.New("control plane not found")
5151
ErrElasticIPQuotaExceeded = errors.New("could not create an Elastic IP due to quota limits on the account, please contact Equinix Metal support")
5252
ErrInvalidIP = errors.New("invalid IP")

0 commit comments

Comments
 (0)