Fix comments to match convention

pull/2474/head
Goutham Veeramachaneni 2017-03-06 23:21:27 +05:30
parent c6b329c55b
commit 4b0270290b
No known key found for this signature in database
GPG Key ID: F1C217E8E9023CAD
1 changed files with 3 additions and 3 deletions

View File

@ -369,7 +369,7 @@ func (api *API) dropSeries(r *http.Request) (interface{}, *apiError) {
return res, nil return res, nil
} }
// Target has the information for 1 target. // Target has the information for one target.
type Target struct { type Target struct {
// Labels before any processing. // Labels before any processing.
DiscoveredLabels model.LabelSet `json:"discoveredLabels"` DiscoveredLabels model.LabelSet `json:"discoveredLabels"`
@ -412,12 +412,12 @@ func (api *API) targets(r *http.Request) (interface{}, *apiError) {
return res, nil return res, nil
} }
// AlertmanagerDiscovery has all the active alert-managers // AlertmanagerDiscovery has all the active Alertmanagers.
type AlertmanagerDiscovery struct { type AlertmanagerDiscovery struct {
ActiveAlertmanagers []*AlertmanagerTarget `json:"activeAlertmanagers"` ActiveAlertmanagers []*AlertmanagerTarget `json:"activeAlertmanagers"`
} }
// AlertmanagerTarget has info on 1 AM // AlertmanagerTarget has info on one AM.
type AlertmanagerTarget struct { type AlertmanagerTarget struct {
URL string `json:"url"` URL string `json:"url"`
} }