fix style
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user