Skip to content

Commit d4c0271

Browse files
authored
Revert "fix(expose): properly order targetPort -> port" (#70)
This reverts commit 899a459. Signed-off-by: Jared Allard <jaredallard@hey.com>
1 parent 29c4c49 commit d4c0271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/expose/port.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (p *ServiceForward) Start(ctx context.Context) error { //nolint:funlen
268268
ports := make([]string, len(p.Ports))
269269
for i, port := range p.Ports {
270270
prt := int(port.TargetPort.IntVal)
271-
ports[i] = fmt.Sprintf("%d:%d", prt, port.MappedPort)
271+
ports[i] = fmt.Sprintf("%d:%d", port.MappedPort, prt)
272272
p.log.Debugf("tunneling port %v", ports[i])
273273
}
274274

0 commit comments

Comments
 (0)