зеркало из https://github.com/Azure/ARO-RP.git
Remove unnecessary checking of SDN as it is always set via api.SetDefaults in frontend PutOrPatch
This commit is contained in:
Родитель
ba3ce8c5ba
Коммит
3bb6e68e9d
|
@ -104,10 +104,7 @@ func (m *manager) generateInstallConfig(ctx context.Context) (*installconfig.Ins
|
|||
masterZones = []string{""}
|
||||
}
|
||||
|
||||
SoftwareDefinedNetwork := string(api.SoftwareDefinedNetworkOpenShiftSDN)
|
||||
if m.oc.Properties.NetworkProfile.SoftwareDefinedNetwork != "" {
|
||||
SoftwareDefinedNetwork = string(m.oc.Properties.NetworkProfile.SoftwareDefinedNetwork)
|
||||
}
|
||||
SoftwareDefinedNetwork := string(m.oc.Properties.NetworkProfile.SoftwareDefinedNetwork)
|
||||
|
||||
// determine outbound type based on cluster visibility
|
||||
outboundType := azuretypes.LoadbalancerOutboundType
|
||||
|
|
Загрузка…
Ссылка в новой задаче