]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add executes_early decorator to version command
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 27 Apr 2023 17:39:02 +0000 (13:39 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 22 May 2023 17:25:59 +0000 (13:25 -0400)
commit20e38136d7baafdf74a43c09effeffec3040f952
tree1d445c2ff7a290ec0bf03fe5c78637e614024f0c
parentcfa2d0de77b71a6b61b75cd0ea408065aa9fbd45
cephadm: add executes_early decorator to version command

Add the executes_early decorator and apply it to the version command
such that the version command will function without the uaual
requirements and set up steps that a cephadm command needs.
This allows anyone with a binary, root or not, to check the version.

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