diff --git a/policy/unaggregated/aggregation_type.go b/policy/unaggregated/aggregation_type.go index 9767756..31742b1 100644 --- a/policy/unaggregated/aggregation_type.go +++ b/policy/unaggregated/aggregation_type.go @@ -177,7 +177,7 @@ func (aggTypes AggregationTypes) String() string { return strings.Join(parts, aggregationTypesSeparator) } -// IsValidForGauge if a list of AggregationTypes is valid for Gauge. +// IsValidForGauge checks if the list of aggregation types is valid for Gauge. func (aggTypes AggregationTypes) IsValidForGauge() bool { for _, aggType := range aggTypes { if !aggType.IsValidForGauge() { @@ -187,7 +187,7 @@ func (aggTypes AggregationTypes) IsValidForGauge() bool { return true } -// IsValidForCounter if an AggregationType is valid for Counter. +// IsValidForCounter checks if the list of aggregation types is valid for Counter. func (aggTypes AggregationTypes) IsValidForCounter() bool { for _, aggType := range aggTypes { if !aggType.IsValidForCounter() { @@ -197,7 +197,7 @@ func (aggTypes AggregationTypes) IsValidForCounter() bool { return true } -// IsValidForTimer if an AggregationType is valid for Timer. +// IsValidForTimer checks if the list of aggregation types is valid for Timer. func (aggTypes AggregationTypes) IsValidForTimer() bool { for _, aggType := range aggTypes { if !aggType.IsValidForTimer() {