mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 14:41:31 +08:00
fix compilation
This commit is contained in:
parent
d198e8c6d6
commit
3c269da37f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user