From 4b0270290b027b850c422d367f470f2688d91bd7 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni Date: Mon, 6 Mar 2017 23:21:27 +0530 Subject: [PATCH] Fix comments to match convention --- web/api/v1/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/api/v1/api.go b/web/api/v1/api.go index 1d8dee555..b7e9512f8 100644 --- a/web/api/v1/api.go +++ b/web/api/v1/api.go @@ -369,7 +369,7 @@ func (api *API) dropSeries(r *http.Request) (interface{}, *apiError) { return res, nil } -// Target has the information for 1 target. +// Target has the information for one target. type Target struct { // Labels before any processing. DiscoveredLabels model.LabelSet `json:"discoveredLabels"` @@ -412,12 +412,12 @@ func (api *API) targets(r *http.Request) (interface{}, *apiError) { return res, nil } -// AlertmanagerDiscovery has all the active alert-managers +// AlertmanagerDiscovery has all the active Alertmanagers. type AlertmanagerDiscovery struct { ActiveAlertmanagers []*AlertmanagerTarget `json:"activeAlertmanagers"` } -// AlertmanagerTarget has info on 1 AM +// AlertmanagerTarget has info on one AM. type AlertmanagerTarget struct { URL string `json:"url"` }