aboutsummaryrefslogtreecommitdiff
path: root/weed/command/s3.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-23 23:58:52 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-23 23:58:52 -0700
commit21fe5bde7cf0e619b4d9f2b2a15f8541988a646b (patch)
treeaa3ff9c2ff76511b68de06601e5236ccbd6f9461 /weed/command/s3.go
parent067b9357630e79cdaa5117243f9a8adc21dc11a1 (diff)
downloadseaweedfs-21fe5bde7cf0e619b4d9f2b2a15f8541988a646b.tar.xz
seaweedfs-21fe5bde7cf0e619b4d9f2b2a15f8541988a646b.zip
filer: remove customizable grpc port, fixed to filer port + 10000
Diffstat (limited to 'weed/command/s3.go')
-rw-r--r--weed/command/s3.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index 9aa9f8e2f..aefbdbb8e 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -20,7 +20,6 @@ var (
type S3Options struct {
filer *string
- filerGrpcPort *int
filerBucketsPath *string
port *int
domainName *string
@@ -31,7 +30,6 @@ type S3Options struct {
func init() {
cmdS3.Run = runS3 // break init cycle
s3options.filer = cmdS3.Flag.String("filer", "localhost:8888", "filer server address")
- s3options.filerGrpcPort = cmdS3.Flag.Int("filer.grpcPort", 0, "filer server grpc port, default to filer http port plus 10000")
s3options.filerBucketsPath = cmdS3.Flag.String("filer.dir.buckets", "/buckets", "folder on filer to store all buckets")
s3options.port = cmdS3.Flag.Int("port", 8333, "s3options server http listen port")
s3options.domainName = cmdS3.Flag.String("domainName", "", "suffix of the host name, {bucket}.{domainName}")