commit | 7d8aa4ded5af280930418045edfb4450b455d2c8 | [log] [tgz] |
---|---|---|
author | David Chen <dwchen@google.com> | Wed Dec 27 13:37:01 2017 -0800 |
committer | David Chen <dwchen@google.com> | Wed Dec 27 13:37:01 2017 -0800 |
tree | 8164df63d1e648fa0f3759eadcd020ea4e79ee3b | |
parent | cb37da8b13a8f70942d253ac56a9ad3ae3cbf7ba [diff] |
Small fix to addconfig in statsd. AddConfiguration now returns false if the incoming byte array can't even be parsed into the expected proto format. Unfortunately, we can't fully evaluate if this configuration is valid. Still, this gives the caller a chance to know that the parameters it sent can't even be parsed. Test: Tested that statsd still builds. Change-Id: I7ba7c64adc4bc77549d5e9133e212a4870645786