Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/collectors/ceph/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ def flatten_dictionary(input_dict, path=None):

[([a,b], 10), ([c], 20)]
"""
donotInclude = ['nick','description']
if path is None:
path = []

for name, value in sorted(input_dict.items()):
if name in donotInclude:
continue
path.append(name)
if isinstance(value, dict):
for result in flatten_dictionary(value, path):
Expand Down