ceph / ceph-medic

find common issues in ceph clusters
MIT License
22 stars 18 forks source link

fix bug in collector.get_path_metadata #23

Closed andrewschoen closed 7 years ago

andrewschoen commented 7 years ago

When we set dirs[path] we need to stat 'path' and not 'i'.

This bug is exposed when no files or dirs are collected from the node.

Signed-off-by: Andrew Schoen aschoen@redhat.com