Skip to content

Commit

Permalink
BugFix - [MCG] RPC method "list_objects" fails with "RPC: object.list…
Browse files Browse the repository at this point in the history
…_objects() Call failed: failed to WebSocket dial"

Signed-off-by: Aayush Chouhan <[email protected]>
(cherry picked from commit 0f3dd04)
  • Loading branch information
achouhan09 authored and dannyzaken committed Oct 27, 2023
1 parent 9e4f8e3 commit ec55c78
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/nb/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ func FindPortByName(srv *corev1.Service, portName string) *corev1.ServicePort {

// GetAPIPortName maps every noobaa api name to the service port name that serves it.
func GetAPIPortName(api string) string {
if api == "object_api" || api == "func_api" {
return "md-https"
}
if api == "scrubber_api" {
return "bg-https"
}
Expand Down

0 comments on commit ec55c78

Please sign in to comment.