Merge pull request #9091 from leseb/fix-9076

rbd-mirror: use a sorted list for peer token content
This commit is contained in:
Sébastien Han authored and GitHub committed 2021-11-03 18:22:25 +01:00
commit 01bb0c1e61
1 file changed
+1 -1
+1 -1
View File
@@ -371,7 +371,7 @@ func CreateRBDMirrorBootstrapPeerWithoutPool(context *clusterd.Context, clusterI
ClusterFSID: clusterInfo.FSID,
ClientID: rbdMirrorPeerKeyringID,
Key: key,
MonHost: strings.Join(mons.UnsortedList(), ","),
MonHost: strings.Join(mons.List(), ","),
Namespace: clusterInfo.Namespace,
}