Merge "Return docker url as well on interactive mode"

This commit is contained in:
Jenkins 2017-04-14 15:17:38 +00:00 committed by Gerrit Code Review
commit 184d70a1c5

View File

@ -337,7 +337,7 @@ class Manager(object):
if run:
return self.driver.execute_run(exec_id)
else:
return exec_id
return {'exec_id': exec_id, 'url': CONF.docker.api_url}
except exception.DockerError as e:
LOG.error("Error occurred while calling Docker exec API: %s",
six.text_type(e))