etcdctl: update to meet go vet

This commit is contained in:
Brian Waldon
2014-10-22 17:51:40 -07:00
parent 69842b344d
commit 1539d5c49c
12 changed files with 24 additions and 26 deletions

View File

@ -14,7 +14,7 @@ func NewUpdateCommand() cli.Command {
Name: "update",
Usage: "update an existing key with a given value",
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) {
handleKey(c, updateCommandFunc)