Files
docker-cli/cli/command
Sebastiaan van Stijn 3bc3f0390e Fix advanced options for backward compatibility
For backward compatibility: if no custom options are provided for the network,
and only a single network is specified, omit the endpoint-configuration
on the client (the daemon will still create it when creating the container)

This fixes an issue on older versions of legacy Swarm, which did not support
`NetworkingConfig.EndpointConfig`.

This was introduced in 5bc09639cc (#1767)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4d7e6bf629)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-06-24 23:18:34 +02:00
..
2018-06-08 18:24:26 +02:00
2019-01-08 00:35:24 +01:00
2019-01-10 22:25:43 +01:00
2018-06-08 18:24:26 +02:00
2019-05-13 18:43:13 -07:00
2018-06-08 18:24:26 +02:00
2018-11-08 11:37:49 +01:00
2019-04-13 17:51:15 +02:00
2018-10-23 17:05:44 +02:00
2018-11-08 11:37:49 +01:00
2019-03-13 14:18:41 +01:00
2019-04-18 15:49:36 +02:00
2017-09-01 19:41:06 -04:00
2019-01-10 22:25:43 +01:00
2019-03-28 21:08:13 +00:00