Skip to content

Commit

Permalink
lxc/remote: replace fmt.Sprintf(%d, integer) by fmt.Sprint(integer)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jan 21, 2025
1 parent 0b659a2 commit 404c0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func (c *cmdRemoteAdd) run(cmd *cobra.Command, args []string) error {
rHost = host
rPort = port
} else {
rPort = fmt.Sprintf("%d", shared.HTTPSDefaultPort)
rPort = fmt.Sprint(shared.HTTPSDefaultPort)
}

if rScheme == "unix" {
Expand Down

0 comments on commit 404c0a5

Please sign in to comment.