Skip to content

Commit

Permalink
fix(port-forward): Fix error upgrading connection
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Feb 21, 2024
1 parent ead1a59 commit 78f6638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/actions/port_forward/port_forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (a PortForward) Run(ctx context.Context) error {
if err != nil {
return err
}
hostUrl.Path = path.Join("api", "v1", "namespaces", a.Client.Namespace, "pods", a.JobPod.Name, "portforward")
hostUrl.Path = path.Join("api", "v1", "namespaces", a.Client.Namespace, "pods", a.DbPod.Name, "portforward")

transport, upgrader, err := spdy.RoundTripperFor(a.Client.ClientConfig)
if err != nil {
Expand Down

0 comments on commit 78f6638

Please sign in to comment.