support IPv6

This commit is contained in:
Chris Lu
2021-03-02 20:59:39 -08:00
parent bcf32591b7
commit e982b06bcd
7 changed files with 28 additions and 42 deletions

View File

@@ -137,7 +137,7 @@ func runS3(cmd *Command, args []string) bool {
func (s3opt *S3Options) startS3Server() bool {
filerGrpcAddress, err := pb.ParseFilerGrpcAddress(*s3opt.filer)
filerGrpcAddress, err := pb.ParseServerToGrpcAddress(*s3opt.filer)
if err != nil {
glog.Fatal(err)
return false