Skip to content

Commit

Permalink
lxd/init: use fmt.Println() where appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Aug 30, 2024
1 parent 6153d96 commit b0f4f41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lxd/main_init_dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (c *cmdInit) RunDump(d lxd.InstanceServer) error {
return fmt.Errorf("Failed to retrieve current server configuration: %w", err)
}

fmt.Printf("%s\n", out)
fmt.Println(out)

return nil
}
2 changes: 1 addition & 1 deletion lxd/main_init_interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (c *cmdInit) RunInteractive(cmd *cobra.Command, args []string, d lxd.Instan
return nil, fmt.Errorf("Failed to render the config: %w", err)
}

fmt.Printf("%s\n", out)
fmt.Println(out)
}

return &config, nil
Expand Down

0 comments on commit b0f4f41

Please sign in to comment.