diff --git a/servlet/data-servlet.go b/servlet/data-servlet.go index 7f40737..529c71f 100644 --- a/servlet/data-servlet.go +++ b/servlet/data-servlet.go @@ -125,7 +125,7 @@ func (s *DataServlets) Handle(servletCtx server.ServletCtx, break } - err = oek.Write("metric", []byte(m.SensorConfigID), message) + err = oek.Write("metric", []byte(m.SensorID), message) if nil != err { logging.Logger().Error(err) break