Skip to content

Commit

Permalink
lxc/profile: avoid fmt.Sprintf()
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Feb 13, 2025
1 parent 2224ae2 commit 34fce19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ func (c *cmdProfileList) projectNameColumnData(profile api.Profile) string {
}

func (c *cmdProfileList) usedByColumnData(profile api.Profile) string {
return fmt.Sprintf("%d", len(profile.UsedBy))
return fmt.Sprint(len(profile.UsedBy))
}

func (c *cmdProfileList) run(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 34fce19

Please sign in to comment.