Skip to content

Commit

Permalink
rename linode provider variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Apr 23, 2024
1 parent c4ba378 commit bcd3be9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/clusterctl/client/config/providers_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const (

// Infra providers.
const (
AkamaiProviderName = "linode-linode"
AWSProviderName = "aws"
AzureProviderName = "azure"
BYOHProviderName = "byoh"
Expand All @@ -50,6 +49,7 @@ const (
OutscaleProviderName = "outscale"
IBMCloudProviderName = "ibmcloud"
InMemoryProviderName = "in-memory"
LinodeProviderName = "linode-linode"
Metal3ProviderName = "metal3"
NestedProviderName = "nested"
NutanixProviderName = "nutanix"
Expand Down Expand Up @@ -151,7 +151,7 @@ func (p *providersClient) defaults() []Provider {

// Infrastructure providers
&provider{
name: AkamaiProviderName,
name: LinodeProviderName,
url: "https://github.com/linode/cluster-api-provider-linode/releases/latest/infrastructure-components.yaml",
providerType: clusterctlv1.InfrastructureProviderType,
},
Expand Down
4 changes: 2 additions & 2 deletions cmd/clusterctl/client/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
config.K0smotronProviderName,
config.KubeKeyProviderName,
config.KubevirtProviderName,
config.AkamaiProviderName,
config.LinodeProviderName,
config.MAASProviderName,
config.Metal3ProviderName,
config.NestedProviderName,
Expand Down Expand Up @@ -148,7 +148,7 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
config.K0smotronProviderName,
config.KubeKeyProviderName,
config.KubevirtProviderName,
config.AkamaiProviderName,
config.LinodeProviderName,
config.MAASProviderName,
config.Metal3ProviderName,
config.NestedProviderName,
Expand Down

0 comments on commit bcd3be9

Please sign in to comment.