Explorar o código

fix(bench): remove trailing slash

Remove trailing slash. This works around
https://github.com/coreos/go-etcd/issues/82
Brandon Philips %!s(int64=12) %!d(string=hai) anos
pai
achega
77887e8253
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bench/bench.go

+ 1 - 1
bench/bench.go

@@ -37,7 +37,7 @@ func watch(endpoint string, key string) {
 }
 
 func main() {
-	endpoint := flag.String("endpoint", "http://127.0.0.1:4001/", "etcd HTTP endpoint")
+	endpoint := flag.String("endpoint", "http://127.0.0.1:4001", "etcd HTTP endpoint")
 
 	rWrites := flag.Int("write-requests", 50000, "number of writes")
 	cWrites := flag.Int("concurrent-writes", 500, "number of concurrent writes")