Skip to content

Commit

Permalink
nomad/structs/structs: finish comments
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Jul 1, 2020
1 parent 6cee4ab commit facdd50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1483,13 +1483,15 @@ type NodeConnQueryResponse struct {
QueryMeta
}

// HostDataRequest
// HostDataRequest is used by /agent/host to retrive data about the agent's host system. If
// ServerID or NodeID is specified, the request is forwarded to the remote agent
type HostDataRequest struct {
ServerID string
NodeID string
QueryOptions
}

// HostDataResponse contains the HostData content
type HostDataResponse struct {
AgentID string
HostData *host.HostData
Expand Down

0 comments on commit facdd50

Please sign in to comment.