Skip to content

Commit

Permalink
Add KernelVersion to peer meta
Browse files Browse the repository at this point in the history
  • Loading branch information
surik committed Jan 18, 2024
1 parent bd31ad2 commit c0908a5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions management/server/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,22 @@ type PeerStatus struct {

// PeerSystemMeta is a metadata of a Peer machine system
type PeerSystemMeta struct {
Hostname string
GoOS string
Kernel string
Core string
Platform string
OS string
WtVersion string
UIVersion string
Hostname string
GoOS string
Kernel string
KernelVersion string
Core string
Platform string
OS string
WtVersion string
UIVersion string
}

func (p PeerSystemMeta) isEqual(other PeerSystemMeta) bool {
return p.Hostname == other.Hostname &&
p.GoOS == other.GoOS &&
p.Kernel == other.Kernel &&
p.KernelVersion == other.KernelVersion &&
p.Core == other.Core &&
p.Platform == other.Platform &&
p.OS == other.OS &&
Expand Down

0 comments on commit c0908a5

Please sign in to comment.