Skip to content

Commit

Permalink
feat: print proxy address
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Goller <[email protected]>
  • Loading branch information
goller committed Aug 8, 2024
1 parent 5e22a2d commit 0776051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func NewCmdProxy(dockerCli command.Cli) *cobra.Command {
signal.Notify(sigChan)

subCmd := exec.CommandContext(ctx, args[0], args[1:]...)
fmt.Printf("Proxying on %s\n", localAddr)

env := os.Environ()
subCmd.Env = append(env, fmt.Sprintf("%s=%s", envVar, localAddr))
Expand Down

0 comments on commit 0776051

Please sign in to comment.