cephfs admin: tweak naming of DaemonStatusPeer

It was previously DaemonStatusPeerRemote but this struck the reviewers
as redundant so it is now simply DaemonStatusPeer.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-08-02 11:25:08 -04:00 committed by mergify[bot]
parent 9eaff23200
commit 53d742d7ce
1 changed files with 5 additions and 5 deletions

View File

@ -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"`
@ -135,9 +135,9 @@ type DaemonStatusPeerStats struct {
// DaemonStatusPeerInfo contains fields representing information about a remote peer.
type DaemonStatusPeerInfo struct {
UUID PeerUUID `json:"uuid"`
Remote DaemonStatusPeerRemote `json:"remote"`
Stats DaemonStatusPeerStats `json:"stats"`
UUID PeerUUID `json:"uuid"`
Remote DaemonStatusPeer `json:"remote"`
Stats DaemonStatusPeerStats `json:"stats"`
}
// DaemonStatusFileSystemInfo represents information about a mirrored file system.