Skip to content

Commit 376dfc6

Browse files
authored
Merge pull request #108 from OpenCHAMI/fix-secrets-cmd
Fix `secrets` command not showing error message
2 parents 0aa72ce + 264b878 commit 376dfc6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

cmd/secrets.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ var secretsCmd = &cobra.Command{
3535
magellan secrets list -f nodes.json`,
3636
Short: "Manage credentials for BMC nodes",
3737
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.",
38-
Run: func(cmd *cobra.Command, args []string) {
39-
// show command help and exit
40-
if len(args) < 1 {
41-
cmd.Help()
42-
os.Exit(0)
43-
}
44-
},
4538
}
4639

4740
var secretsGenerateKeyCmd = &cobra.Command{

0 commit comments

Comments
 (0)