Skip to content

Commit

Permalink
update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxMercedes committed Jan 3, 2019
1 parent a9c06a2 commit 9120055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grader/grader/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def docker_cli(self):
"""A docker Client object. Always returns the same one."""
if not hasattr(self, "_docker_cli"):
logger.debug("Creating Docker client")
self._docker_cli = docker.Client(
self._docker_cli = docker.DockerClient(
base_url="unix://var/run/docker.sock",
version="auto"
)
Expand Down

0 comments on commit 9120055

Please sign in to comment.