mirror of https://github.com/status-im/consul.git
agent: bolster commenting for clearer understandability
This commit is contained in:
parent
9a987d6452
commit
fb7bccc690
|
@ -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…
Reference in New Issue