Skip to content

Commit

Permalink
Modify repoistory.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed May 10, 2023
1 parent 44dc42e commit 980da14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/clusterctl/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func CreateRepository(ctx context.Context, input CreateRepositoryInput) string {
Type: provider.Type,
}
providers = append(providers, p)
if !(clusterctlv1.ProviderType(provider.Type) == clusterctlv1.IPAMProviderType || clusterctlv1.ProviderType(provider.Type) == clusterctlv1.RuntimeExtensionProviderType) {
if !(clusterctlv1.ProviderType(provider.Type) == clusterctlv1.IPAMProviderType || clusterctlv1.ProviderType(provider.Type) == clusterctlv1.RuntimeExtensionProviderType || clusterctlv1.ProviderType(provider.Type) == clusterctlv1.AddonProviderType) {
providersV1_2 = append(providersV1_2, p)
}
}
Expand Down

0 comments on commit 980da14

Please sign in to comment.