Fix sending auth_gen to Drydock

Fixes passing the results of a call to _auth_gen() instead
of the method itself.

Change-Id: I43eb4ea0af914d95310e88ce3d2e1902bc14562f
This commit is contained in:
Bryan Strassner 2018-02-14 16:38:44 -06:00
parent 102150a72d
commit 1d920bdbf6
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class DryDockOperator(BaseOperator):
logging.info("Build DryDock Session")
dd_session = session.DrydockSession(drydock_url.hostname,
port=drydock_url.port,
auth_gen=self._auth_gen())
auth_gen=self._auth_gen)
# Raise Exception if we are not able to get a drydock session
if dd_session: