src/tools/cephfs-top: fix flake8 line too long error

Fixes: https://tracker.ceph.com/issues/50005
Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
Varsha Rao 2021-03-26 15:08:33 +05:30
parent e038fe24ee
commit 51cf6c3d14

View File

@ -140,7 +140,8 @@ class FSTop(object):
raise FSTopException('perf stats version mismatch!')
missing = [m for m in stats_json["global_counters"] if m.upper() not in MGR_STATS_COUNTERS]
if missing:
raise FSTopException(f'Cannot handle unknown metrics from \'ceph fs perf stats\': {missing}')
raise FSTopException('Cannot handle unknown metrics from \'ceph fs perf stats\': '
f'{missing}')
def setup_curses(self):
self.stdscr = curses.initscr()