From facdd506c9aebe626e21d16795e6dc0531ead177 Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Wed, 1 Jul 2020 15:21:55 -0400 Subject: [PATCH] nomad/structs/structs: finish comments --- nomad/structs/structs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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