1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster/convert
Drew Erny dd752ec87a Fix jobs-related bug in task conversion
While working on some other code, noticed a bug in the jobs code. We're
adding job version after we're checking if there are port configs.
Before, if there were no port configs, the job version would be missing,
because we would return before trying to convert.

This moves the jobs version conversion above that code, so we don't
accidentally return before it.

Signed-off-by: Drew Erny <derny@mirantis.com>
2020-12-02 12:27:23 -06:00
..
config.go api: Add Templating parameter to SecretSpec and ConfigSpec 2018-02-16 11:25:13 -05:00
container.go Add ulimits support to services 2020-07-29 02:09:06 +02:00
network.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
network_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
node.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
secret.go api: Add Templating parameter to SecretSpec and ConfigSpec 2018-02-16 11:25:13 -05:00
service.go API: swarm: move PidsLimit to TaskTemplate.Resources 2020-06-05 12:50:38 +02:00
service_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
swarm.go VXLAN UDP Port configuration support 2018-11-22 17:35:02 -05:00
task.go Fix jobs-related bug in task conversion 2020-12-02 12:27:23 -06:00