Skip to content

Commit

Permalink
fix(cmd): Fix some log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cedws committed Oct 16, 2024
1 parent ae98bf5 commit 0db6d12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/to_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var hostCmd = &cobra.Command{
Long: "Create a tunnel to a remote private IP or FQDN (requires BeyondCorp Enterprise)",
Args: cobra.ExactArgs(1),
PreRun: func(cmd *cobra.Command, args []string) {
log.Info("Starting proxy", "dest", fmt.Sprintf("%v:%v", args[0], port), "port", port, "project", project)
log.Info("Starting proxy", "dest", fmt.Sprintf("%v:%v", args[0], port), "project", project)
},
Run: func(cmd *cobra.Command, args []string) {
ctx := context.Background()
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/to_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var instanceCmd = &cobra.Command{
Long: "Create a tunnel to a remote Compute Engine instance",
Args: cobra.ExactArgs(1),
PreRun: func(cmd *cobra.Command, args []string) {
log.Info("Starting proxy", "dest", fmt.Sprintf("%v:%v", args[0], port), "port", port, "project", project)
log.Info("Starting proxy", "dest", fmt.Sprintf("%v:%v", args[0], port), "project", project)
},
Run: func(cmd *cobra.Command, args []string) {
ctx := context.Background()
Expand Down

0 comments on commit 0db6d12

Please sign in to comment.