Skip to content

Commit

Permalink
fix(network): create prints success to stderr instead of stdout (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 authored Oct 26, 2023
1 parent 828c22d commit 0a4c361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/cmd/network/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package network

import (
"context"
"fmt"
"net"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -59,7 +60,7 @@ var CreateCmd = base.Cmd{
return err
}

cmd.Printf("Network %d created\n", network.ID)
fmt.Printf("Network %d created\n", network.ID)

return changeProtection(ctx, client, waiter, network, true, protectionOpts)
},
Expand Down

0 comments on commit 0a4c361

Please sign in to comment.