Fixes: https://tracker.ceph.com/issues/58813
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
db48c819bb28bd900df031a39ad687e7dc8ce6a5)
Conflicts:
src/tools/cephfs/top/cephfs-top:self.active_screen is being
changed to self.current_screen as this name change is not backported
to pacific, so continuing with the name which exists in pacific.
endwhile = True
elif key == ord('q'):
self.stdscr.erase()
- if isinstance(current_states['last_fs'], list):
- self.run_all_display()
- else:
+ if fs_list and self.current_screen == FS_TOP_FS_SELECTED_APP:
self.run_display()
+ else:
+ self.run_all_display()
endwhile = True
try: