Comment 2 for bug 1659638

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/425982
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=dc34ed43ddbb425fd4b6eb7eeb721daf7d36e147
Submitter: Jenkins
Branch: master

commit dc34ed43ddbb425fd4b6eb7eeb721daf7d36e147
Author: Alex Schultz <email address hidden>
Date: Thu Jan 26 16:58:37 2017 -0700

    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