]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: escape special chars using r-string
authorKefu Chai <kchai@redhat.com>
Wed, 10 Feb 2021 07:47:31 +0000 (15:47 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 Feb 2021 15:12:30 +0000 (23:12 +0800)
commit734dd75f35fb24d319ee1ddbff09da53dfac8c72
treee40f5996122403a4739ca18fab8a31bf498ebab5
parent47a50f24ca544567b9459f123b129e5fc2cb301f
mgr/prometheus: escape special chars using r-string

so we don't need to worry about escaping the backslash anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/prometheus/module.py