mirror of https://github.com/docker/docker-py.git
Revert "Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service"
This reverts commit 92e0e9c30d
.
This commit is contained in:
parent
0e82a7723f
commit
aa2ea7f7d5
|
@ -663,8 +663,8 @@ class Placement(dict):
|
|||
platforms (:py:class:`list` of tuple): A list of platforms
|
||||
expressed as ``(arch, os)`` tuples
|
||||
"""
|
||||
def __init__(self, constraints=None, preferences=None, platforms=None,
|
||||
maxreplicas=None):
|
||||
def __init__(self, constraints=None, preferences=None, maxreplicas=None,
|
||||
platforms=None):
|
||||
if constraints is not None:
|
||||
self['Constraints'] = constraints
|
||||
if preferences is not None:
|
||||
|
|
Loading…
Reference in New Issue