Skip to content

Commit 7f56f70

Browse files
committed
Don't add superfluous arguments
Signed-off-by: Joffrey F <[email protected]>
1 parent 87ee18a commit 7f56f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/api/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def create_container(self, image, command=None, hostname=None, user=None,
416416
if use_config_proxy:
417417
environment = self._proxy_configs.inject_proxy_environment(
418418
environment
419-
)
419+
) or None
420420

421421
config = self.create_container_config(
422422
image, command, hostname, user, detach, stdin_open, tty,

0 commit comments

Comments
 (0)