mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
make kubectl factory flag binding optional
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
cmd := cmd.NewFactory().NewKubectlCommand(os.Stdout)
|
||||
cmd := cmd.NewFactory(nil).NewKubectlCommand(os.Stdout)
|
||||
if err := cmd.Execute(); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user