Run "make format".

This commit is contained in:
Julius Volz 2013-04-16 17:23:59 +02:00
parent a13bc4494d
commit 5f5ea03105
2 changed files with 3 additions and 3 deletions

View file

@ -137,7 +137,7 @@ func rateImpl(timestamp time.Time, view *viewAdapter, args []Node) interface{} {
// MatrixLiteral exists). Find a better way of getting the duration of a
// matrix, such as looking at the samples themselves.
interval := args[0].(*MatrixLiteral).interval
for i, _ := range vector {
for i := range vector {
vector[i].Value /= model.SampleValue(interval / time.Second)
}
return vector