aboutsummaryrefslogtreecommitdiff
path: root/weed/command/gateway.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2021-04-10 23:48:18 -0700
committerChris Lu <chris.lu@uber.com>2021-04-10 23:48:18 -0700
commitf62c1532745c1dca7d81f1f23d39f18f5c8985d5 (patch)
treef3844277a6d004c50bb9c5dddc4315843f3570c8 /weed/command/gateway.go
parentaf313dff58bf82a731dbce72535b72f1979d6740 (diff)
downloadseaweedfs-f62c1532745c1dca7d81f1f23d39f18f5c8985d5.tar.xz
seaweedfs-f62c1532745c1dca7d81f1f23d39f18f5c8985d5.zip
go fmt
Diffstat (limited to 'weed/command/gateway.go')
-rw-r--r--weed/command/gateway.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/gateway.go b/weed/command/gateway.go
index a2a97889f..28ec326cc 100644
--- a/weed/command/gateway.go
+++ b/weed/command/gateway.go
@@ -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)