mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
Merge pull request #2863 from stgraber/main
shared/util: Fix SingleQuote to actually quote
This commit is contained in:
@@ -83,5 +83,5 @@ func SingleQuote(in string) string {
|
||||
s = strings.ReplaceAll(s, "\\\"", "\"")
|
||||
s = strings.ReplaceAll(s, "'", "\\'")
|
||||
|
||||
return s
|
||||
return "'" + s + "'"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user