]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: get cephadm version information from zipapp module
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 27 Apr 2023 17:36:51 +0000 (13:36 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 22 May 2023 17:25:58 +0000 (13:25 -0400)
commitcfa2d0de77b71a6b61b75cd0ea408065aa9fbd45
tree7f8aeb1fe08d8610109e4b0799fa040b938f66ef
parent9a3438a4d23d418c6fd0b6d7fa6cea1d2afac6aa
cephadm: get cephadm version information from zipapp module

Use the `_version.py` module that gets embedded into the zipapp at build
time to print cephadm's own version information.
The version string printed is basically copied from the one printed by
the `ceph` command.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py