etcdctl: update to meet go vet
This commit is contained in:
@ -13,7 +13,7 @@ func NewUpdateDirCommand() cli.Command {
|
||||
Name: "updatedir",
|
||||
Usage: "update an 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, updateDirCommandFunc)
|
||||
|
Reference in New Issue
Block a user