style(alerting): add note about making timeseries model safer

This commit is contained in:
bergquist 2016-05-27 15:28:47 +02:00
parent 22d8723c1d
commit 5f2447976c

View File

@ -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,