mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 02:41:30 +00:00
rackspace: pass full path to the isdir.
This commit is contained in:
committed by
Matt Clay
parent
cad0adc691
commit
de8c453ac6
@@ -271,7 +271,7 @@ def upload(module, cf, container, src, dest, meta, expires):
|
||||
if path != src:
|
||||
prefix = path.split(src)[-1].lstrip('/')
|
||||
filenames = [os.path.join(prefix, name) for name in filenames
|
||||
if not os.path.isdir(name)]
|
||||
if not os.path.isdir(os.path.join(path, name))]
|
||||
objs += filenames
|
||||
|
||||
_objs = []
|
||||
|
||||
Reference in New Issue
Block a user