Skip to content

Commit

Permalink
Fix subcommand mapping for rke2 certificate
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Apr 12, 2024
1 parent 2083e9d commit 2a10241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/cmds/cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewCertCommand() cli.Command {
},
}

command := cmds.NewCertCommands(Rotate, cert.RotateCA, cert.Check)
command := cmds.NewCertCommands(cert.Check, Rotate, cert.RotateCA)
command.Usage = "Manage RKE2 certificates"
configfilearg.DefaultParser.ValidFlags[command.Name] = command.Flags
for i, subcommand := range command.Subcommands {
Expand Down

0 comments on commit 2a10241

Please sign in to comment.