etcdctlv3: support endpoint flag
This commit is contained in:
@ -44,7 +44,7 @@ func deleteRangeCommandFunc(c *cli.Context) {
|
||||
if len(c.Args()) > 1 {
|
||||
rangeEnd = []byte(c.Args()[1])
|
||||
}
|
||||
conn, err := grpc.Dial("127.0.0.1:12379")
|
||||
conn, err := grpc.Dial(c.GlobalString("endpoint"))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user