Skip to content

Commit

Permalink
Merge pull request #1203 from achouhan09/bugfix_list_objects
Browse files Browse the repository at this point in the history
BugFix - [MCG] RPC method "list_objects" fails with "RPC: object.list…
  • Loading branch information
dannyzaken authored Aug 21, 2023
2 parents b97390d + 0f3dd04 commit 020baa4
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 020baa4

Please sign in to comment.