aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorruitao.liu <ruitao.liu@cloudminds.com>2020-09-10 16:24:09 +0800
committerruitao.liu <ruitao.liu@cloudminds.com>2020-09-10 16:24:09 +0800
commit719dc43af14142ca1fb199882366b46aa4189e1f (patch)
tree63f017d0ccd058577ac8219ef36077479f08758d /weed/command/scaffold.go
parent72f9d7f047573ce2bd785b0ba48b8ad13e4b87da (diff)
downloadseaweedfs-719dc43af14142ca1fb199882366b46aa4189e1f.tar.xz
seaweedfs-719dc43af14142ca1fb199882366b46aa4189e1f.zip
modify elastic urls from string to array.
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 7ced118ca..800bc6029 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -176,7 +176,11 @@ database = "seaweedfs"
[elastic7]
enabled = false
-servers = "http://localhost1:9200,http://localhost2:9200,http://localhost3:9200"
+servers = [
+ "http://localhost1:9200",
+ "http://localhost2:9200",
+ "http://localhost3:9200",
+]
username = ""
password = ""
sniff_enabled = false