aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-03-10 11:17:49 -0800
committerGitHub <noreply@github.com>2021-03-10 11:17:49 -0800
commit105fcd7bfcd10a185f38abe04a4158327e082a8e (patch)
treef31d944d47452fe10354cf2fe579b0a51026067e /weed/command/master.go
parent737bde5ab7bcd83002127ccc0adf07839602f714 (diff)
parent348e21a08ccc52f6837613e7765e9d815850bd6c (diff)
downloadseaweedfs-105fcd7bfcd10a185f38abe04a4158327e082a8e.tar.xz
seaweedfs-105fcd7bfcd10a185f38abe04a4158327e082a8e.zip
Merge pull request #1872 from kmlebedev/grpc_auth
TLS allowed CommonNames
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index d569919cd..fb58cfefd 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -138,7 +138,6 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) {
if err != nil {
glog.Fatalf("master failed to listen on grpc port %d: %v", grpcPort, err)
}
- // Create your protocol servers.
grpcS := pb.NewGrpcServer(security.LoadServerTLS(util.GetViper(), "grpc.master"))
master_pb.RegisterSeaweedServer(grpcS, ms)
protobuf.RegisterRaftServer(grpcS, raftServer)