Skip to content

Commit c0bdb9f

Browse files
committed
fix: rename cli parameter dataEngine to data-engine
Longhorn 7355 Signed-off-by: Derek Su <derek.su@suse.com>
1 parent 48756d0 commit c0bdb9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/cmd/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func ServerCmd() cli.Command {
3636
Required: true,
3737
},
3838
cli.StringFlag{
39-
Name: "dataEngine",
39+
Name: "data-engine",
4040
Usage: "The volume data engine",
4141
Required: true,
4242
},
@@ -91,7 +91,7 @@ func ServerCmd() cli.Command {
9191
Action: func(c *cli.Context) {
9292
vol := volume.Volume{
9393
Name: c.String("volume"),
94-
DataEngine: c.String("dataEngine"),
94+
DataEngine: c.String("data-engine"),
9595
Passphrase: c.String("passphrase"),
9696
CryptoKeyCipher: c.String("crytpokeycipher"),
9797
CryptoKeyHash: c.String("crytpokeyhash"),

0 commit comments

Comments
 (0)