From 5f2447976ccc2857436748aa5c995e8bf36099e6 Mon Sep 17 00:00:00 2001 From: bergquist Date: Fri, 27 May 2016 15:28:47 +0200 Subject: [PATCH] style(alerting): add note about making timeseries model safer --- pkg/models/timeseries.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/models/timeseries.go b/pkg/models/timeseries.go index 1656d8d60a9..74b489ec36e 100644 --- a/pkg/models/timeseries.go +++ b/pkg/models/timeseries.go @@ -16,6 +16,8 @@ type TimeSeries struct { type TimeSeriesSlice []*TimeSeries func NewTimeSeries(name string, points [][2]float64) *TimeSeries { + //Todo: This should be made safer :) + ts := &TimeSeries{ Name: name, Points: points,