fix test to run without NodeInfo
Also removed --fullall from node list and profile list Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
ffef31969e
commit
ac6cd69ca6
@@ -6,13 +6,12 @@ import (
|
||||
)
|
||||
|
||||
type variables struct {
|
||||
showNet bool
|
||||
showIpmi bool
|
||||
showAll bool
|
||||
showLong bool
|
||||
showFullAll bool
|
||||
showYaml bool
|
||||
showJson bool
|
||||
showNet bool
|
||||
showIpmi bool
|
||||
showAll bool
|
||||
showLong bool
|
||||
showYaml bool
|
||||
showJson bool
|
||||
}
|
||||
|
||||
func GetCommand() *cobra.Command {
|
||||
@@ -42,7 +41,6 @@ func GetCommand() *cobra.Command {
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showNet, "net", "n", false, "Show node network configurations")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showIpmi, "ipmi", "i", false, "Show node IPMI configurations")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showAll, "all", "a", false, "Show all node configurations")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showFullAll, "fullall", "A", false, "Show all node configurations inclusive empty entries")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showLong, "long", "l", false, "Show long or wide format")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showYaml, "yaml", "y", false, "Show yaml format")
|
||||
baseCmd.PersistentFlags().BoolVarP(&vars.showJson, "json", "j", false, "Show json format")
|
||||
|
||||
Reference in New Issue
Block a user