Skip to content

Commit

Permalink
Fix deprecated usage of create_host_config
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
  • Loading branch information
mpetazzoni committed Sep 14, 2015
1 parent e450411 commit 9042f57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maestro/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
# Fall back to <= 0.3.1 location
from docker.client import APIError

from docker.utils import create_host_config
from docker.utils.types import LogConfigTypesEnum


Expand Down Expand Up @@ -420,7 +419,7 @@ def env_list_expand(elt):

# host_config now contains all settings previously passed in container
# start().
self.host_config = create_host_config(
self.host_config = self._ship.backend.create_host_config(
log_config=self.log_config,
mem_limit=self.mem_limit,
memswap_limit=self.memswap_limit,
Expand Down

0 comments on commit 9042f57

Please sign in to comment.