]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks/cephadm.py: lop off .git more robustly
authorNathan Cutler <ncutler@suse.com>
Thu, 20 Feb 2020 10:59:53 +0000 (11:59 +0100)
committerNathan Cutler <ncutler@suse.com>
Thu, 20 Feb 2020 16:22:17 +0000 (17:22 +0100)
commitdcbdb283179e600cdc78f374a206df90c765f664
treef742c1b0b5635842a1a2d5e3d7e3fceaebb4ae44
parent9c238af442a5e87a0ae7fee0005da6075413e1b4
qa/tasks/cephadm.py: lop off .git more robustly

The line

    rest.replace('.git/', '/')

was added to accommodate weird folks who run teuthology-suite
with an option like this:

    --suite-repo https://github.com/ceph/ceph.git/

but they might just as well give the option like this:

    --suite-repo https://github.com/ceph/ceph.git

Signed-off-by: Nathan Cutler <ncutler@suse.com>
qa/tasks/cephadm.py