etcdctl: update to meet go vet
This commit is contained in:
@ -13,7 +13,7 @@ func NewSetDirCommand() cli.Command {
|
||||
Name: "setdir",
|
||||
Usage: "create a new or existing directory",
|
||||
Flags: []cli.Flag{
|
||||
cli.IntFlag{"ttl", 0, "key time-to-live"},
|
||||
cli.IntFlag{Name: "ttl", Value: 0, Usage: "key time-to-live"},
|
||||
},
|
||||
Action: func(c *cli.Context) {
|
||||
handleDir(c, setDirCommandFunc)
|
||||
|
Reference in New Issue
Block a user