mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
Fix typo in the copy module error message
Fix the typos in the error message shown on trying to use remote_src=yes for copying directories
This commit is contained in:
parent
23c07ccf2c
commit
1b642fcf75
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ def main():
|
||||||
if not os.access(src, os.R_OK):
|
if not os.access(src, os.R_OK):
|
||||||
module.fail_json(msg="Source %s not readable" % (src))
|
module.fail_json(msg="Source %s not readable" % (src))
|
||||||
if os.path.isdir(src):
|
if os.path.isdir(src):
|
||||||
module.fail_json(msg="Remote copy does not support recurisive copy of direcory: %s" % (src))
|
module.fail_json(msg="Remote copy does not support recursive copy of directory: %s" % (src))
|
||||||
|
|
||||||
checksum_src = module.sha1(src)
|
checksum_src = module.sha1(src)
|
||||||
checksum_dest = None
|
checksum_dest = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue