Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nautilus: mgr: Update the restful module in nautilus #28291

Merged
merged 3 commits into from
Jun 14, 2019

Commits on May 29, 2019

  1. restful: Expose perf counters

    We currently do not expose perf counters in the restful module but this
    is a useful piece of information to be exposed by the restful module.
    
    Since we already have a function to gather all the information about the
    perf counters, we can make this easily accessible through the restful
    API.
    
    This also supports filtering by daemons through regexps.
    
    Signed-off-by: Boris Ranto <branto@redhat.com>
    (cherry picked from commit aaaef91)
    b-ranto committed May 29, 2019
    Configuration menu
    Copy the full SHA
    f29496a View commit details
    Browse the repository at this point in the history
  2. pybind/mgr: use enumerate() for accessing index in a loop

    for better readability
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    (cherry picked from commit aadb8ec)
    tchaikov authored and b-ranto committed May 29, 2019
    Configuration menu
    Copy the full SHA
    ffa22e2 View commit details
    Browse the repository at this point in the history
  3. mgr/restful: do not use filter() for list

    unlike python2, python3 returns an iterator instead of a list, so
    construct a list using list comprehension directly.
    
    Fixes: https://tracker.ceph.com/issues/38628
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    (cherry picked from commit 427bca8)
    tchaikov authored and b-ranto committed May 29, 2019
    Configuration menu
    Copy the full SHA
    f206001 View commit details
    Browse the repository at this point in the history