瀏覽代碼

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")