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:
aiordache 2021-02-15 15:48:57 +01:00
parent 0e82a7723f
commit aa2ea7f7d5
1 changed files with 2 additions and 2 deletions

View File

@ -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: