Skip to content
Snippets Groups Projects

Cherry-pick CERN patches to 4.11 release branch

Closed Jack Henschel requested to merge cern-4.11-dev into cern-4.11
4 files
+ 42
0
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 4
0
@@ -55,6 +55,10 @@ type Images struct {
func getProviderFromInfrastructure(infra *configv1.Infrastructure) (configv1.PlatformType, error) {
if infra.Status.PlatformStatus != nil {
if infra.Status.PlatformStatus.Type != "" {
if infra.Status.PlatformStatus.Type == configv1.NonePlatformType {
// Map cloud platform 'None' to 'OpenStack' for CERN Cloud
return configv1.OpenStackPlatformType, nil
}
return infra.Status.PlatformStatus.Type, nil
}
}
Loading