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/iam.go | |
| parent | 5c9a3bb8cf68ed99acb53dd548c92b54744d7fd7 (diff) | |
| parent | 82ee31965dd7a1ad2d348c7e9dadb254744bf9b0 (diff) | |
| download | seaweedfs-94c702402e879843792acc4be2cf01198268f250.tar.xz seaweedfs-94c702402e879843792acc4be2cf01198268f250.zip | |
Merge branch 'chrislusf-master'
Diffstat (limited to 'weed/command/iam.go')
| -rw-r--r-- | weed/command/iam.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/iam.go b/weed/command/iam.go index 88b17b1a2..968d23095 100644 --- a/weed/command/iam.go +++ b/weed/command/iam.go @@ -67,7 +67,7 @@ func (iamopt *IamOptions) startIamServer() bool { } } - masters := pb.ServerAddresses(*iamopt.masters).ToAddresses() + masters := pb.ServerAddresses(*iamopt.masters).ToAddressMap() router := mux.NewRouter().SkipClean(true) _, iamApiServer_err := iamapi.NewIamApiServer(router, &iamapi.IamServerOption{ Masters: masters, |
