mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
b4a51f2b9a
rancher/flannel ➡️ k3s-io/flannel rancher/go-powershell ➡️ k3s-io/go-powershell Part of https://github.com/rancher/k3s/issues/2189 Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
10 lines
179 B
Go
10 lines
179 B
Go
// Copyright (c) 2017 Gorillalabs. All rights reserved.
|
|
|
|
package utils
|
|
|
|
import "strings"
|
|
|
|
func QuoteArg(s string) string {
|
|
return "'" + strings.Replace(s, "'", "\"", -1) + "'"
|
|
}
|