mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Merge pull request #108 from OpenCHAMI/fix-secrets-cmd
Fix `secrets` command not showing error message
This commit is contained in:
commit
376dfc6725
1 changed files with 0 additions and 7 deletions
|
|
@ -35,13 +35,6 @@ var secretsCmd = &cobra.Command{
|
|||
magellan secrets list -f nodes.json`,
|
||||
Short: "Manage credentials for BMC nodes",
|
||||
Long: "Manage credentials for BMC nodes to for querying information through redfish. This requires generating a key and setting the 'MASTER_KEY' environment variable for the secrets store.",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
// show command help and exit
|
||||
if len(args) < 1 {
|
||||
cmd.Help()
|
||||
os.Exit(0)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
var secretsGenerateKeyCmd = &cobra.Command{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue