Skip to content

Commit aa2ea7f

Browse files
author
aiordache
committed
Revert "Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service"
This reverts commit 92e0e9c.
1 parent 0e82a77 commit aa2ea7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/types/services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,8 @@ class Placement(dict):
663663
platforms (:py:class:`list` of tuple): A list of platforms
664664
expressed as ``(arch, os)`` tuples
665665
"""
666-
def __init__(self, constraints=None, preferences=None, platforms=None,
667-
maxreplicas=None):
666+
def __init__(self, constraints=None, preferences=None, maxreplicas=None,
667+
platforms=None):
668668
if constraints is not None:
669669
self['Constraints'] = constraints
670670
if preferences is not None:

0 commit comments

Comments
 (0)