]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/ptl-tool: address datetime warning 69463/head
authorPatrick Donnelly <pdonnell@ibm.com>
Sun, 14 Jun 2026 15:17:27 +0000 (11:17 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 15 Jun 2026 20:25:23 +0000 (16:25 -0400)
commit13b334507f92e00dc55e2039550260295243c5cc
tree4baa394cd16542ac128179a67c48d187e6104c1c
parentcf5b149eecfc0a1d2038d667b37d2133ac741c97
script/ptl-tool: address datetime warning

    /home/runner/work/ceph/ceph/src/script/ptl-tool.py:1743: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/ptl-tool.py