Skip to content

Commit

Permalink
Add replica-instance-name argument to verify-rebuild-replica command
Browse files Browse the repository at this point in the history
Longhorn 6522

Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber authored and PhanLe1010 committed Aug 18, 2023
1 parent 5f2df20 commit 3d0e51f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/cmd/add_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ func VerifyRebuildReplicaCmd() cli.Command {
return cli.Command{
Name: "verify-rebuild-replica",
ShortName: "verify-rebuild",
Flags: []cli.Flag{
cli.StringFlag{
Name: "replica-instance-name",
Required: false,
Usage: "Name of the replica instance (for validation purposes)",
},
},
Action: func(c *cli.Context) {
if err := verifyRebuildReplica(c); err != nil {
logrus.WithError(err).Fatalf("Error running verify rebuild replica command")
Expand Down

0 comments on commit 3d0e51f

Please sign in to comment.