We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b179889 + b0f469e commit 70172f7Copy full SHA for 70172f7
src/pybind/mgr/volumes/fs/stats_util.py
@@ -5,6 +5,7 @@
5
cloning) and pass, print, log and convert them to human readable format
6
conveniently.
7
'''
8
+import errno
9
from os.path import join as os_path_join
10
from typing import Optional
11
from logging import getLogger
@@ -190,7 +191,7 @@ def _get_info_for_all_clones(self):
190
191
f'Printing the exception: {e}')
192
continue
193
except VolumeException as e:
- if e.error_str != 'error fetching subvolume metadata':
194
+ if e.errno != -errno.EINVAL:
195
raise
196
log.info('Exception VolumeException was raised. Apparently '
197
'an entry from the metadata file of clone source '
0 commit comments