]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: expose avg data for long running avgs 22420/head
authorBoris Ranto <branto@redhat.com>
Tue, 5 Jun 2018 11:58:00 +0000 (13:58 +0200)
committerBoris Ranto <branto@redhat.com>
Tue, 5 Jun 2018 11:58:03 +0000 (13:58 +0200)
commit2042c6c27beb504454daaaf185b9ce8f04d679d9
treefe35a0f1763747e8fe4f60744f69b8745d250672
parent8aa592c46e3748666cefdba1285b822a2035fe18
mgr: expose avg data for long running avgs

While exposing the long running avgs, the order of regular and long
running avg data got mixed up resulting in exposing empty data for both
since there is no regular data for long running avgs and vice versa.
This commit fixes this issue by changing the order of the if/else
statement exposing regular data for regular counters and avg data for
long running avgs.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/mgr/ActivePyModules.cc