Skip to content

Commit

Permalink
Update pkg/cmd/open-svc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored Aug 5, 2023
1 parent acc3ed6 commit 01eb198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/open-svc.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (o *OpenServiceOptions) getServiceProxyPath(svc *v1.Service) (string, error

var port v1.ServicePort

if len(o.svcPort) == 0 {
if o.svcPort == "" {
port = svc.Spec.Ports[0]

if l > 1 {
Expand Down

0 comments on commit 01eb198

Please sign in to comment.