Skip to content

Commit

Permalink
lxc/main: avoid fmt.Sprintf (slow)
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 4754cc6 commit 393bcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ For help with any of those, simply call them with --help.`))
app.SetVersionTemplate("{{.Version}}\n")
app.Version = version.Version
if version.IsLTSVersion {
app.Version = fmt.Sprintf("%s LTS", version.Version)
app.Version = version.Version + " LTS"
}

// alias sub-command
Expand Down

0 comments on commit 393bcf3

Please sign in to comment.