From eca41f53191fb755ec940a5f66fd9b77c33ea2e2 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Wed, 16 Sep 2015 14:33:12 +0200 Subject: [PATCH] Run gofmt --- promql/functions.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/promql/functions.go b/promql/functions.go index 28325e1ff..321918eab 100644 --- a/promql/functions.go +++ b/promql/functions.go @@ -654,7 +654,7 @@ func funcLabelReplace(ev *evaluator, args Expressions) model.Value { func funcVector(ev *evaluator, args Expressions) model.Value { return vector{ &sample{ - Metric: metric.Metric{}, + Metric: metric.Metric{}, Value: model.SampleValue(ev.evalFloat(args[0])), Timestamp: ev.Timestamp, }, @@ -857,10 +857,10 @@ var functions = map[string]*Function{ Call: funcTopk, }, "vector": { - Name: "vector", - ArgTypes: []model.ValueType{model.ValScalar}, - ReturnType: model.ValVector, - Call: funcVector, + Name: "vector", + ArgTypes: []model.ValueType{model.ValScalar}, + ReturnType: model.ValVector, + Call: funcVector, }, }