fix style

This commit is contained in:
Konstantin Lebedev 2020-09-24 17:48:39 +05:00
parent 324e44d4b3
commit 98e9de6e11
2 changed files with 2 additions and 0 deletions

View file

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

View file

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