Browse Source

fix style

pull/1489/head
Konstantin Lebedev 4 years ago
parent
commit
98e9de6e11
  1. 1
      weed/command/filer.go
  2. 1
      weed/command/s3.go

1
weed/command/filer.go

@ -37,6 +37,7 @@ type FilerOptions struct {
cipher *bool
peers *string
metricsHttpPort *int
// default leveldb directory, used in "weed server" mode
defaultLevelDbDirectory *string
}

1
weed/command/s3.go

@ -172,6 +172,7 @@ func (s3opt *S3Options) startS3Server() bool {
if s3ApiServer_err != nil {
glog.Fatalf("S3 API Server startup error: %v", s3ApiServer_err)
}
httpS := &http.Server{Handler: router}
listenAddress := fmt.Sprintf(":%d", *s3opt.port)

Loading…
Cancel
Save