You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a bug when retrieving all metrics for a sensor
When no metric filter was passed to `stream_sensor_data()` the transform
callback failed because the `metrics` argument wasn't passed when
calling `sensor_data_samples_from_proto()` internally, making the
gRPC streaming task stop with an unhandled exception.
This commit makes the `metrics` argument optional for
`sensor_data_samples_from_proto()` to fix that.
A test case with no metric filters is added too.
Signed-off-by: Leandro Lucarella <[email protected]>
0 commit comments