Skip to content

Commit

Permalink
rbd: Use int type instead of time_t in public APIs
Browse files Browse the repository at this point in the history
Updated the `LastSeen` property of MirrorPeerSite struct to be of int type instead
of `time_t` type.

Fixes: #870

Signed-off-by: Nikhil-Ladha <[email protected]>
  • Loading branch information
Nikhil-Ladha committed Apr 18, 2023
1 parent bc48ab4 commit d6e209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbd/mirror_peer_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ type MirrorPeerSite struct {
SiteName string
MirrorUUID string
ClientName string
LastSeen C.time_t
LastSeen int
}

// ListMirrorPeerSite returns the list of peer sites
Expand Down

0 comments on commit d6e209a

Please sign in to comment.