Skip to content

Commit

Permalink
app: make some options optional
Browse files Browse the repository at this point in the history
Longhorn 7672

Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit committed Feb 7, 2024
1 parent 21e0aae commit 0c35f68
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/cmd/basic/bdev_nvme.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,17 @@ func BdevNvmeAttachControllerCmd() cli.Command {
Required: true,
},
cli.StringFlag{
Name: "subnqn",
Usage: "NVMe-oF target subnqn. It can be the nvmf subsystem nqn",
Required: true,
Name: "subnqn",
Usage: "NVMe-oF target subnqn. It can be the nvmf subsystem nqn",
},
cli.StringFlag{
Name: "traddr",
Usage: "NVMe-oF target address: a ip or BDF",
Required: true,
},
cli.StringFlag{
Name: "trsvcid",
Usage: "NVMe-oF target trsvcid: a port number",
Required: true,
Name: "trsvcid",
Usage: "NVMe-oF target trsvcid: a port number",
},
cli.StringFlag{
Name: "trtype",
Expand Down

0 comments on commit 0c35f68

Please sign in to comment.