mirror of https://github.com/k3s-io/k3s
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) + "'"
|
||
|
}
|