mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 19:39:43 +00:00
10 lines
223 B
Go
10 lines
223 B
Go
package util
|
|
|
|
// AddFeatureGate correctly appends a feature gate key pair to the feature gates CLI switch.
|
|
func AddFeatureGate(current, new string) string {
|
|
if current == "" {
|
|
return new
|
|
}
|
|
return current + "," + new
|
|
}
|