wp
This commit is contained in:
@@ -67,7 +67,7 @@ func (s *Connection) AddMetric(req proto.AddMetricReq) (err error) {
|
||||
proto.TypeAddMetric,
|
||||
0, 0, 0, 0, //
|
||||
byte(req.MetricType),
|
||||
byte(req.FracDigits),
|
||||
req.FracDigits,
|
||||
}
|
||||
bin.PutUint32(arr[1:], req.MetricID)
|
||||
// req
|
||||
@@ -82,7 +82,7 @@ func (s *Connection) AddMetric(req proto.AddMetricReq) (err error) {
|
||||
// arr := []byte{
|
||||
// proto.TypeUpdateMetric,
|
||||
// 0, 0, 0, 0, //
|
||||
// byte(req.FracDigits),
|
||||
// req.FracDigits,
|
||||
// }
|
||||
// bin.PutUint32(arr[1:], req.MetricID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user