Skip to content

Commit 909020d

Browse files
committed
this is to pass the linter, and a decision of how to correctly handle configapiv1.IBMCloudServiceCOSConfig will be made at a later point, probably as part of OCPBUGS-36459
1 parent 8189e04 commit 909020d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/storage/ibmcos/ibmcos.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ func (d *driver) setServiceEndpointOverrides(infra *configapiv1.Infrastructure)
488488
case configapiv1.IBMCloudServiceResourceManager:
489489
klog.Infof("found override for ibmcloud resource manager endpoint: %s", endpoint.URL)
490490
d.rmServiceEndpoint = endpoint.URL
491-
case configapiv1.IBMCloudServiceCIS, configapiv1.IBMCloudServiceDNSServices, configapiv1.IBMCloudServiceGlobalSearch, configapiv1.IBMCloudServiceGlobalTagging, configapiv1.IBMCloudServiceHyperProtect, configapiv1.IBMCloudServiceKeyProtect, configapiv1.IBMCloudServiceVPC:
491+
case configapiv1.IBMCloudServiceCIS, configapiv1.IBMCloudServiceDNSServices, configapiv1.IBMCloudServiceGlobalSearch, configapiv1.IBMCloudServiceGlobalTagging, configapiv1.IBMCloudServiceHyperProtect, configapiv1.IBMCloudServiceKeyProtect, configapiv1.IBMCloudServiceVPC, configapiv1.IBMCloudServiceCOSConfig, configapiv1.IBMCloudServiceGlobalCatalog:
492492
klog.Infof("ignoring unused service endpoint: %s", endpoint.Name)
493493
default:
494494
klog.Infof("ignoring unknown service: %s", endpoint.Name)
@@ -511,7 +511,7 @@ func (d *driver) setServiceEndpointOverrides(infra *configapiv1.Infrastructure)
511511
case strings.ToLower(string(configapiv1.IBMCloudServiceResourceManager)):
512512
klog.Infof("found override for ibmcloud resource manager endpoint: %s", endpoint.URL)
513513
d.rmServiceEndpoint = endpoint.URL
514-
case strings.ToLower(string(configapiv1.IBMCloudServiceCIS)), strings.ToLower(string(configapiv1.IBMCloudServiceDNSServices)), strings.ToLower(string(configapiv1.IBMCloudServiceGlobalSearch)), strings.ToLower(string(configapiv1.IBMCloudServiceGlobalTagging)), strings.ToLower(string(configapiv1.IBMCloudServiceHyperProtect)), strings.ToLower(string(configapiv1.IBMCloudServiceKeyProtect)), strings.ToLower(string(configapiv1.IBMCloudServiceVPC)):
514+
case strings.ToLower(string(configapiv1.IBMCloudServiceCIS)), strings.ToLower(string(configapiv1.IBMCloudServiceDNSServices)), strings.ToLower(string(configapiv1.IBMCloudServiceGlobalSearch)), strings.ToLower(string(configapiv1.IBMCloudServiceGlobalTagging)), strings.ToLower(string(configapiv1.IBMCloudServiceHyperProtect)), strings.ToLower(string(configapiv1.IBMCloudServiceKeyProtect)), strings.ToLower(string(configapiv1.IBMCloudServiceVPC)), strings.ToLower(string(configapiv1.IBMCloudServiceCOSConfig)), strings.ToLower(string(configapiv1.IBMCloudServiceGlobalCatalog)):
515515
klog.Infof("ignoring unused service endpoint: %s", endpoint.Name)
516516
default:
517517
klog.Infof("ignoring unknown service: %s", endpoint.Name)

0 commit comments

Comments
 (0)