]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: exporter: use os.path.realpath(__file__)
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 26 Feb 2021 10:20:35 +0000 (11:20 +0100)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commitda7b82592897005b5a26bb7c7abe59a58e9d09d8
tree3bf8ac9e52d93393ae5de131da48097812f72108
parent963a597559fe88db4039494ceffc75e6610fb34f
cephadm: exporter: use os.path.realpath(__file__)

Because we now always have a script on the remote hosts.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 470d79bee5101e7d4c11378450591f55e6ede4cc)
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py