ソースを参照

fix(bench): remove trailing slash

Remove trailing slash. This works around
https://github.com/coreos/go-etcd/issues/82
Brandon Philips 12 年 前
コミット
77887e8253
1 ファイル変更1 行追加1 行削除
  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")