Add status_code & failed:false when status==200 (#21457)
* Add status_code & failed:false when status==200 * remove failed=false, it's broking tests
This commit is contained in:
parent
eec88b63c2
commit
9baf95bcc4
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ def main():
|
|||
|
||||
res_args = dict(
|
||||
url = url, dest = dest, src = tmpsrc, md5sum = md5sum, checksum_src = checksum_src,
|
||||
checksum_dest = checksum_dest, changed = changed, msg = info.get('msg', '')
|
||||
checksum_dest = checksum_dest, changed = changed, msg = info.get('msg', ''), status_code=info.get('status','')
|
||||
)
|
||||
if backup_file:
|
||||
res_args['backup_file'] = backup_file
|
||||
|
|
Loading…
Reference in a new issue