Skip to content

Commit

Permalink
lxc/network_acl: 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 961db55 commit 6578414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/network_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (c *cmdNetworkACLList) run(cmd *cobra.Command, args []string) error {

data := [][]string{}
for _, acl := range acls {
strUsedBy := fmt.Sprintf("%d", len(acl.UsedBy))
strUsedBy := fmt.Sprint(len(acl.UsedBy))
details := []string{
acl.Name,
acl.Description,
Expand Down

0 comments on commit 6578414

Please sign in to comment.