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

Commit 2242084

Browse files
committed
lint fix for machine.go
Signed-off-by: Chris Privitere <[email protected]>
1 parent 8a57dba commit 2242084

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkg/cloud/packet/scope/machine.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ func getProviderIDPrefix(ctx context.Context, mgmtClient client.Client, workload
280280

281281
// providerIDFromKubeadmConfig attempts to determine the appropriate providerID prefix to use based on the configuration
282282
// of the referenced KubeadmConfig resource. It uses the following precedence:
283-
// - If an explicit providerID is being configured for the kubelet through extra arguments in the InitConfiguration, use it
284-
// - If an explicit providerID is being configured for the kubelet through extra arguments in the JoinConfiguration, use it
285-
// (InitConfiguration and JoinConfiguration are mutually exclusive options)
286-
// - If the PostKubeadmCommands are deploying packet-ccm, use "packet"
287-
// - If the PostKubeadmCommands are deploying cloud-provider-equinix-metal, use "equinixmetal"
288-
// - Otherwise, return ""
283+
// - If an explicit providerID is being configured for the kubelet through extra arguments in the InitConfiguration, use it
284+
// - If an explicit providerID is being configured for the kubelet through extra arguments in the JoinConfiguration, use it
285+
// (InitConfiguration and JoinConfiguration are mutually exclusive options)
286+
// - If the PostKubeadmCommands are deploying packet-ccm, use "packet"
287+
// - If the PostKubeadmCommands are deploying cloud-provider-equinix-metal, use "equinixmetal"
288+
// - Otherwise, return ""
289289
func providerIDFromKubeadmConfig(ctx context.Context, mgmtClient client.Client, namespace, name string) (string, error) {
290290
kubeadmConfig := new(bootstrapv1.KubeadmConfig)
291291
key := client.ObjectKey{

0 commit comments

Comments
 (0)