agent: bolster commenting for clearer understandability

pull/4275/head
Mitchell Hashimoto 7 years ago
parent 9a987d6452
commit fb7bccc690
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A

@ -968,7 +968,9 @@ func (s *HTTPServer) AgentConnectAuthorize(resp http.ResponseWriter, req *http.R
}, nil
}
// connectAuthorizeResp is the response format/structure for the
// /v1/agent/connect/authorize endpoint.
type connectAuthorizeResp struct {
Authorized bool
Reason string
Authorized bool // True if authorized, false if not
Reason string // Reason for the Authorized value (whether true or false)
}

Loading…
Cancel
Save