diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index ca55a51a6d45..ba0571b14f1b 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -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