This commit is contained in:
Chris Lu committed 2021-04-10 23:48:18 -07:00
1 parent af313dff58
commit f62c153274
4 files changed
+4 -6

No files matched your search

+3 -3
View File
@@ -68,9 +68,9 @@ func (gw *GatewayOptions) startGateway() {
defaultMux := http.NewServeMux()
_, gws_err := weed_server.NewGatewayServer(defaultMux, &weed_server.GatewayOption{
Masters: strings.Split(*gw.masters, ","),
Filers: strings.Split(*gw.filers, ","),
MaxMB: *gw.maxMB,
Masters: strings.Split(*gw.masters, ","),
Filers: strings.Split(*gw.filers, ","),
MaxMB: *gw.maxMB,
})
if gws_err != nil {
glog.Fatalf("Gateway startup error: %v", gws_err)