mirror of https://github.com/ceph/ceph-ansible.git
don't use os.path.join() on a single path component
Signed-off-by: Rishabh Dave <ridave@redhat.com>pull/3716/head
parent
62abe7068a
commit
ba949acab7
|
@ -209,8 +209,7 @@ def container_exec(binary, container_image):
|
|||
'-v', '/etc/ceph:/etc/ceph:z',
|
||||
'-v', '/var/lib/ceph/:/var/lib/ceph/:z',
|
||||
'-v', '/var/log/ceph/:/var/log/ceph/:z',
|
||||
os.path.join('--entrypoint=' + binary),
|
||||
container_image]
|
||||
'--entrypoint=' + binary, container_image]
|
||||
return command_exec
|
||||
|
||||
|
||||
|
|
|
@ -196,8 +196,7 @@ def container_exec(binary, container_image):
|
|||
'-v', '/run/lvm/:/run/lvm/',
|
||||
'-v', '/var/lib/ceph/:/var/lib/ceph/:z',
|
||||
'-v', '/var/log/ceph/:/var/log/ceph/:z',
|
||||
os.path.join('--entrypoint=' + binary),
|
||||
container_image]
|
||||
'--entrypoint=' + binary, container_image]
|
||||
return command_exec
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue