Get rid of warning which, according [1], is going to become an error:
osd_perf_query/module.py:61
/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/osd_perf_query/module.py:61: DeprecationWarning: invalid escape sequence '\.'
'regex': '^(?:rbd|journal)_data\.(?:([0-9]+)\.)?([^.]+)\.'},
1. https://docs.python.org/3/library/re.html
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
'key_descriptor': [
{'type': 'pool_id', 'regex': '^(.+)$'},
{'type': 'object_name',
- 'regex': '^(?:rbd|journal)_data\.(?:([0-9]+)\.)?([^.]+)\.'},
+ 'regex': r'^(?:rbd|journal)_data\.(?:([0-9]+)\.)?([^.]+)\.'},
],
'performance_counter_descriptors': [
'bytes', 'write_ops', 'read_ops', 'write_bytes', 'read_bytes',