cephfs admin: tweak naming of DaemonStatusPeer
It was previously DaemonStatusPeerRemote but this struck the reviewers
as redundant so it is now simply DaemonStatusPeer.
@@ -120,8 +120,8 @@ type FileSystemID uint
// PeerUUID represents the UUID of a cephfs mirroring peer.
type PeerUUID string
-// DaemonStatusPeerRemote contains fields detailing a remote peer.
-type DaemonStatusPeerRemote struct {
+// DaemonStatusPeer contains fields detailing a remote peer.
+type DaemonStatusPeer struct {
ClientName string `json:"client_name"`
ClusterName string `json:"cluster_name"`
FSName string `json:"fs_name"`
@@ -136,7 +136,7 @@ type DaemonStatusPeerStats struct {
// DaemonStatusPeerInfo contains fields representing information about a remote peer.
type DaemonStatusPeerInfo struct {
UUID PeerUUID `json:"uuid"`
- Remote DaemonStatusPeerRemote `json:"remote"`
+ Remote DaemonStatusPeer `json:"remote"`
Stats DaemonStatusPeerStats `json:"stats"`
}
