designate/designate/metrics_client
Alex Schultz dc34ed43dd Fix noop metrics timed decorator
Previously if you did not have the monasca statds available, the @timed
decorator would result in a NoneType error because timed was returning
None instead of acting as a noop function wrapper. This change updates
the NoopTimer to properly handle timed being used as a function.

Change-Id: Ic5543b3503b24aaef960d8b7c0cb38940241cbcb
Closes-Bug: #1659638
2017-01-26 16:58:37 -07:00
..
__init__.py Add noop metrics client 2016-10-27 18:56:23 +00:00
noop.py Fix noop metrics timed decorator 2017-01-26 16:58:37 -07:00