You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/13 08:33:53 UTC

[GitHub] [airflow] Bowrna commented on a change in pull request #22217: added docs about detailed network and constraints information

Bowrna commented on a change in pull request #22217:
URL: https://github.com/apache/airflow/pull/22217#discussion_r825412477



##########
File path: airflow/providers/docker/operators/docker_swarm.py
##########
@@ -86,8 +86,16 @@ class DockerSwarmOperator(DockerOperator):
     :param mode: Indicate whether a service should be deployed as a replicated or global service,
         and associated parameters
     :param networks: List of network names or IDs or NetworkAttachmentConfig to attach the service to.
-    :param placement: Placement instructions for the scheduler. If a list is passed instead,
-        it is assumed to be a list of constraints as part of a Placement object.
+        NetworkAttachmentConfig object accepts following params:
+        :param target: (str) - The target network for attachment. Can be a network name or ID.
+        :param aliases: (list) - A list of discoverable alternate names for the service.
+        :param options: (dict) - Driver attachment options for the network target.

Review comment:
       I see. I will update it @uranusjr 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org