Sebastiaan van Stijn
4d7e6bf629
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 >
2019-06-24 23:17:25 +02:00
..
2018-12-13 14:21:34 +01:00
2018-06-08 18:24:26 +02:00
2018-05-11 16:49:43 -07:00
2019-02-12 09:14:50 +08:00
2017-10-26 12:21:02 -04:00
2018-05-11 16:49:43 -07:00
2019-02-07 09:17:35 +01:00
2019-02-07 09:17:35 +01:00
2019-05-06 14:16:26 -07:00
2019-05-06 14:16:26 -07:00
2018-10-23 17:05:44 +02:00
2018-06-08 18:24:26 +02:00
2018-05-11 16:49:43 -07:00
2019-02-07 09:17:35 +01:00
2019-02-07 09:17:35 +01:00
2018-10-23 17:05:44 +02:00
2018-10-23 17:05:44 +02:00
2018-10-23 17:05:44 +02:00
2018-10-23 17:05:44 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-06-08 18:24:26 +02:00
2018-05-11 16:49:43 -07:00
2018-06-08 18:24:26 +02:00
2018-10-26 08:22:49 +08:00
2019-06-24 23:17:25 +02:00
2019-06-24 23:17:25 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-09-05 00:01:16 +00:00
2018-06-08 18:24:26 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-12-13 13:23:30 +01:00
2019-05-06 14:16:26 -07:00
2018-05-31 22:25:06 +02:00
2018-06-08 18:24:26 +02:00
2019-03-11 10:01:22 +08:00
2019-03-11 10:01:22 +08:00
2018-10-23 17:05:44 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2019-02-12 09:14:50 +08:00
2019-02-12 09:14:50 +08:00
2018-05-11 16:49:43 -07:00
2019-03-21 01:20:32 +01:00
2018-06-08 18:24:26 +02:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00