Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

Commit ade1724

Browse files
committed
Add reasonable storage-url
1 parent 012c88c commit ade1724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/dor-insert/dor-insert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func main() {
1515
fs := flag.NewFlagSet("DOR", flag.ExitOnError)
1616
var (
1717
storage = fs.String("storage", "clickhouse", "storage type")
18-
location = fs.String("storage-url", "", "url of the storage")
18+
location = fs.String("storage-url", "tcp://clickhouse:9000", "url of the storage")
1919
)
2020
ff.Parse(fs, os.Args[1:], ff.WithEnvVarPrefix("DOR"))
2121

service/dor-http/dor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func main() {
1414
fs := flag.NewFlagSet("DOR", flag.ExitOnError)
1515
var (
1616
storage = fs.String("storage", "clickhouse", "storage type")
17-
location = fs.String("storage-url", "", "url of the storage")
17+
location = fs.String("storage-url", "tcp://clickhouse:9000", "url of the storage")
1818
listen = fs.String("listen-addr", ":8080", "listen address")
1919
)
2020
ff.Parse(fs, os.Args[1:], ff.WithEnvVarPrefix("DOR"))

0 commit comments

Comments
 (0)