Browse Source

fix(bench): remove trailing slash

Remove trailing slash. This works around
https://github.com/coreos/go-etcd/issues/82
Brandon Philips 12 years ago
parent
commit
77887e8253
1 changed files with 1 additions and 1 deletions
  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")