dest is not required as patchfile can have that info

pull/10229/head
Brian Coca 10 years ago
parent 9d605171a7
commit 69b76a48b0

@ -34,8 +34,8 @@ class ActionModule(object):
dest = options.get('dest', None) dest = options.get('dest', None)
remote_src = utils.boolean(options.get('remote_src', 'yes')) remote_src = utils.boolean(options.get('remote_src', 'yes'))
if src is None or dest is None: if src is None:
result = dict(failed=True, msg="src and dest are required") result = dict(failed=True, msg="src is required")
return ReturnData(conn=conn, comm_ok=False, result=result) return ReturnData(conn=conn, comm_ok=False, result=result)
if remote_src: if remote_src:

Loading…
Cancel
Save