Skip to content

Commit

Permalink
Update pkg/antctl/handlers/agentinfo.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Antonin Bas <[email protected]>
  • Loading branch information
lzhecheng and antoninbas authored Jan 21, 2020
1 parent 4452e66 commit 55a0fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/antctl/handlers/agentinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ComponentAgentInfoResponse struct {
type AgentInfo struct{}

// Handler returns the function which can handle queries issued by agent-info commands,
// the handler function populate component's agent-info to the ComponentAgentInfoResponse.
// the handler function populates and serializes the ComponentAgentInfoResponse struct.
func (v *AgentInfo) Handler(aq monitor.AgentQuerier, cq monitor.ControllerQuerier) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
var m ComponentAgentInfoResponse
Expand Down

0 comments on commit 55a0fa2

Please sign in to comment.