Fixed missing nodes cmd

This commit is contained in:
Juan Font 2021-07-31 23:14:24 +02:00
parent c3aa9a5d4c
commit 6c903d4a2f

View File

@ -11,7 +11,8 @@ import (
"github.com/spf13/cobra"
)
func init () {
func init() {
rootCmd.AddCommand(nodeCmd)
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
err := nodeCmd.MarkPersistentFlagRequired("namespace")
if err != nil {