Fixing some silly errors.

Always verify your builds before you push, kids. 👎
This commit is contained in:
Tony Compton 2018-06-29 12:11:30 -04:00
parent ce6f83da6b
commit 277734dcdb
2 changed files with 11 additions and 4 deletions

View file

@ -40,7 +40,7 @@ func (p *externalMetricQueryBuilder) BuildPrometheusQuery(namespace string, metr
//I'm guessing that SeriesRegistry might store the metric type, but I haven't looked yet.
aggregation := queryMetadata.Aggregation
window := queryMetadata.WindowInSeconds
return fmt.Sprintf("%s(%s{%s}[%ss])", aggregation, metricName, joinedLabels, window)
return fmt.Sprintf("%s(%s{%s}[%ds])", aggregation, metricName, joinedLabels, window)
}
func (p *externalMetricQueryBuilder) makeLabelFilter(labelName string, operator string, targetValue string) string {