Skip to content

Commit c0ebb69

Browse files
AntaresSshin-
authored andcommitted
documentation change
Signed-off-by: Anda Xu <[email protected]>
1 parent 33deb52 commit c0ebb69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/models/services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def create(self, image, command=None, **kwargs):
100100
labels (dict): Labels to apply to the service.
101101
log_driver (str): Log driver to use for containers.
102102
log_driver_options (dict): Log driver options.
103-
mode (str): Scheduling mode for the service (``replicated`` or
104-
``global``). Defaults to ``replicated``.
103+
mode (ServiceMode): Scheduling mode for the service.
104+
Default:``None``
105105
mounts (list of str): Mounts for the containers, in the form
106106
``source:target:options``, where options is either
107107
``ro`` or ``rw``.

0 commit comments

Comments
 (0)