Create eauth dict for passing into batch class

This commit is contained in:
Christian McHugh 2017-04-12 06:51:18 +01:00 committed by rallytime
parent 5fb8190d44
commit 260dd84758

View file

@ -517,6 +517,10 @@ class LocalClient(object):
opts['gather_job_timeout'] = kwargs['gather_job_timeout']
eauth=kwargs.get('eauth', {})
if 'username' in kwargs:
eauth['username'] = kwargs['username']
if 'password' in kwargs:
eauth['password'] = kwargs['password']
if 'token' in kwargs:
eauth['token'] = kwargs['token']