Skip to content

Commit 8e38c89

Browse files
authored
Merge pull request #1237 from dannyzaken/danny-5.11
[Backport to 5.11] BugFix - [MCG] RPC method "list_objects" fails with "RPC: object.list_objects() Call failed: failed to WebSocket dial"
2 parents 9e4f8e3 + ec55c78 commit 8e38c89

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/nb/router.go

-3
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ func FindPortByName(srv *corev1.Service, portName string) *corev1.ServicePort {
199199

200200
// GetAPIPortName maps every noobaa api name to the service port name that serves it.
201201
func GetAPIPortName(api string) string {
202-
if api == "object_api" || api == "func_api" {
203-
return "md-https"
204-
}
205202
if api == "scrubber_api" {
206203
return "bg-https"
207204
}

0 commit comments

Comments
 (0)