commit | 756cd48749eb63592b4cf8f6e16f7366debec054 | [log] [tgz] |
---|---|---|
author | Yangster-mac <yanglu@google.com> | Tue Nov 21 21:58:44 2017 -0800 |
committer | Yangster-mac <yanglu@google.com> | Wed Nov 22 13:43:25 2017 -0800 |
tree | fe6f5f541a76d726e81889b05b16f07d316445b0 | |
parent | 916c83d2271d6d536e3ca2ea2b57892d9a15470c [diff] [blame] |
Set the metric name for alerts in fake config and add a test to make sure the fake config is valid.. Test: unit test passed. Change-Id: I1879fc523cca9fc6c672332ab4ac383f21dc16fc
diff --git a/cmds/statsd/src/metrics/MetricsManager.h b/cmds/statsd/src/metrics/MetricsManager.h index 59ade7c..a6054e3 100644 --- a/cmds/statsd/src/metrics/MetricsManager.h +++ b/cmds/statsd/src/metrics/MetricsManager.h
@@ -101,7 +101,7 @@ // maps from ConditionTracker to MetricProducer std::unordered_map<int, std::vector<int>> mConditionToMetricMap; - bool mConfigValid; + bool mConfigValid = false; }; } // namespace statsd