From 3c269da37f072c58f3f918cb7b937c54635f34e9 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 6 Jul 2020 09:46:24 -0700 Subject: [PATCH] fix compilation --- weed/server/filer_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go index c6c16d0c2..30c8a0a7c 100644 --- a/weed/server/filer_server.go +++ b/weed/server/filer_server.go @@ -94,7 +94,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption) glog.Fatal("filers using separate leveldb stores should not configure peers!") } if len(option.Filers) == 0 { - option.Filers = append(option.Filers, fmt.Sprintf("%s:%d", option.Host, option.Port) + option.Filers = append(option.Filers, fmt.Sprintf("%s:%d", option.Host, option.Port)) } fs.metaAggregator = filer2.NewMetaAggregator(option.Filers, fs.grpcDialOption)