]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: return absolute path from pathify 35030/head
authorMichael Fritch <mfritch@suse.com>
Tue, 12 May 2020 19:12:15 +0000 (13:12 -0600)
committerMichael Fritch <mfritch@suse.com>
Tue, 12 May 2020 22:55:47 +0000 (16:55 -0600)
commit669840abc037fc8c49255a68bebae9a8279eac86
tree54f544acaa68ee0501768bc3646f3e2faecfa7e8
parent629a9eeeb54bd0bbbdc4e29dc4473ae08244c20a
cephadm: return absolute path from pathify

normalizes the user defined paths a bit better to avoid inconsistent
results with os.path.basename(), os.path.join(), etc.

For example:
$ cephadm shell --mount ~/

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm