outposts: fix creation of from_env docker client

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-25 16:48:23 +01:00
parent 952a7f07c1
commit 7c55616e29

View file

@ -36,7 +36,7 @@ class DockerClient(UpstreamDockerClient, BaseClient):
self.ssh = None
if connection.local:
# Same result as DockerClient.from_env
super().__init__(kwargs_from_env())
super().__init__(**kwargs_from_env())
else:
parsed_url = urlparse(connection.url)
tls_config = False