Merge pull request #11605 from spzala/indexcasting

etcdctl: use appropriate type conversion
This commit is contained in:
Sahdev Zala
2020-02-12 10:08:37 -05:00
committed by GitHub

View File

@@ -76,10 +76,7 @@ func execWatchCommandFunc(c *cli.Context, ki client.KeysAPI) {
cmdArgs = args[:argslen-1]
}
index := 0
if c.Int("after-index") != 0 {
index = c.Int("after-index")
}
index := c.Uint64("after-index")
recursive := c.Bool("recursive")