Skip to content

Commit

Permalink
Use external.ExternalPlatformNameOci instead agent.ExternalPlatformNa…
Browse files Browse the repository at this point in the history
…meOci
  • Loading branch information
pawanpinjarkar committed Nov 8, 2024
1 parent 447bf1c commit ab8ba3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/asset/agent/manifests/agentclusterinstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/openshift/installer/pkg/types"
"github.com/openshift/installer/pkg/types/baremetal"
"github.com/openshift/installer/pkg/types/defaults"
"github.com/openshift/installer/pkg/types/external"
external "github.com/openshift/installer/pkg/types/external"
"github.com/openshift/installer/pkg/types/none"
"github.com/openshift/installer/pkg/types/vsphere"
)
Expand Down Expand Up @@ -207,7 +207,7 @@ func (a *AgentClusterInstall) Generate(dependencies asset.Parents) error {
PlatformName: installConfig.Config.Platform.External.PlatformName,
}
}
if installConfig.Config.Platform.Name() == external.Name && installConfig.Config.Platform.External.PlatformName == agent.ExternalPlatformNameOci {
if installConfig.Config.Platform.Name() == external.Name && installConfig.Config.Platform.External.PlatformName == external.ExternalPlatformNameOci {
agentClusterInstall.Spec.ExternalPlatformSpec.CloudControllerManager = external.CloudControllerManagerTypeExternal
}

Expand Down

0 comments on commit ab8ba3a

Please sign in to comment.