]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: replace deprecated codecs.open with open 68329/head
authorKefu Chai <k.chai@proxmox.com>
Sat, 11 Apr 2026 11:22:46 +0000 (19:22 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sat, 11 Apr 2026 11:22:46 +0000 (19:22 +0800)
commit0b54e22e1fa1aa2eade747be194f251a2095cfa0
tree31bd662cb78a4cd6961a1b1909b0d0dbe0776d48
parentda84f9ce0f5244020a734407b5a33e3592387029
mgr/dashboard: replace deprecated codecs.open with open

codecs.open() was deprecated since Python 3.14, see
https://docs.python.org/3/library/codecs.html#codecs.open.
Let's use the builtin open() as recommended by the official
document.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/pybind/mgr/dashboard/ci/check_grafana_dashboards.py