Read directory_mode as 'raw' type
Reads the directory_mode param as 'raw' type to mirror the same behavior as mode.
This'll cause non-quoted values to be represented as an int, rather than a str.
Covered by 'assert recursive copied directories mode' test.
Fixes #24202
(cherry picked from commit 8d8cfb5fcd
)
This commit is contained in:
parent
f82e80dac6
commit
ef40b0085b
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ def main():
|
|||
backup = dict(default=False, type='bool'),
|
||||
force = dict(default=True, aliases=['thirsty'], type='bool'),
|
||||
validate = dict(required=False, type='str'),
|
||||
directory_mode = dict(required=False),
|
||||
directory_mode = dict(required=False, type='raw'),
|
||||
remote_src = dict(required=False, type='bool'),
|
||||
),
|
||||
add_file_common_args=True,
|
||||
|
|
Loading…
Reference in a new issue