Skip to content

Commit

Permalink
lxc/warning: replace fmt.Sprintf() by fmt.Sprint()
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jan 29, 2025
1 parent d797e9a commit a8becbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/warning.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (c *cmdWarningList) run(cmd *cobra.Command, args []string) error {
}

func (c *cmdWarningList) countColumnData(warning api.Warning) string {
return fmt.Sprintf("%d", warning.Count)
return fmt.Sprint(warning.Count)
}

func (c *cmdWarningList) firstSeenColumnData(warning api.Warning) string {
Expand Down

0 comments on commit a8becbf

Please sign in to comment.