Skip to content

Commit

Permalink
fix: output for convert layer2 to layer 3 command (#390)
Browse files Browse the repository at this point in the history
metal-cli Convert subcommand from layer 2 to layer 3 logs pointers for
the addresses

Fixes: #386
  • Loading branch information
displague authored Nov 16, 2023
2 parents cd40bb0 + b241841 commit 54a34f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ports/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (c *Client) Convert() *cobra.Command {
}

convToL3 := func(portID string) (*metal.Port, *http.Response, error) {
log.Printf("Converting port %s to layer-3 with addresses %v", portID, addrs)
log.Printf("Converting port %s to layer-3", portID)
return c.PortService.
ConvertLayer3(context.Background(), portID).
PortConvertLayer3Input(metal.PortConvertLayer3Input{
Expand Down

0 comments on commit 54a34f3

Please sign in to comment.