diff options
| author | guosj <515878133@qq.com> | 2022-04-19 09:26:06 +0800 |
|---|---|---|
| committer | guosj <515878133@qq.com> | 2022-04-19 09:26:06 +0800 |
| commit | 94c702402e879843792acc4be2cf01198268f250 (patch) | |
| tree | 593eb933dffc877010c761b2c55ec6c73875e9a3 /weed/command/master_follower.go | |
| parent | 5c9a3bb8cf68ed99acb53dd548c92b54744d7fd7 (diff) | |
| parent | 82ee31965dd7a1ad2d348c7e9dadb254744bf9b0 (diff) | |
| download | seaweedfs-94c702402e879843792acc4be2cf01198268f250.tar.xz seaweedfs-94c702402e879843792acc4be2cf01198268f250.zip | |
Merge branch 'chrislusf-master'
Diffstat (limited to 'weed/command/master_follower.go')
| -rw-r--r-- | weed/command/master_follower.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master_follower.go b/weed/command/master_follower.go index f182d7ce4..ec7d2758f 100644 --- a/weed/command/master_follower.go +++ b/weed/command/master_follower.go @@ -83,7 +83,7 @@ func runMasterFollower(cmd *Command, args []string) bool { func startMasterFollower(masterOptions MasterOptions) { // collect settings from main masters - masters := pb.ServerAddresses(*mf.peers).ToAddresses() + masters := pb.ServerAddresses(*mf.peers).ToAddressMap() var err error grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.master") |
