Skip to content

Commit

Permalink
add client ip field (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejingru authored Sep 10, 2021
1 parent 245cdca commit ff65f58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/v1/sync_report.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type NodeInfo struct {
HostID string `yaml:"hostID,omitempty" json:"hostID,omitempty"`
Role string `yaml:"role,omitempty" json:"role,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty" validate:"omitempty,validLabels"`
ClientIP string `yaml:"clientIP,omitempty" json:"clientIP,omitempty"`
}

// NodeStats node statistics
Expand Down

0 comments on commit ff65f58

Please sign in to comment.