mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
use constants for group names
This commit is contained in:
@@ -66,5 +66,5 @@ func main() {
|
||||
"nginx.key": nginxKey,
|
||||
},
|
||||
}
|
||||
fmt.Printf(runtime.EncodeOrDie(latest.GroupOrDie("").Codec, secret))
|
||||
fmt.Printf(runtime.EncodeOrDie(latest.GroupOrDie(api.GroupName).Codec, secret))
|
||||
}
|
||||
|
Reference in New Issue
Block a user