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
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
..
controllers/plugin cluster/controllers/plugin: remove unused Controller.taskID (unused) 2019-09-18 12:57:49 +02:00
convert Fix jobs-related bug in task conversion 2020-12-02 12:27:23 -06:00
executor Add ulimits support to services 2020-07-29 02:09:06 +02:00
provider Add canonical import comment 2018-02-05 16:51:57 -05:00
cluster.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
configs.go set bigger grpc limit for GetConfigs api 2019-02-26 11:09:25 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filters.go Changes to cluster/filter, swagger.yaml, version-history.md for filtering on node labels. 2018-08-21 22:17:23 +02:00
filters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
listen_addr.go daemon/cluster: normalize comment formatting 2019-11-27 15:42:53 +01:00
listen_addr_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
listen_addr_others.go Add canonical import comment 2018-02-05 16:51:57 -05:00
networks.go Move network conversions out of API router 2018-06-27 17:11:29 -07:00
noderunner.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
nodes.go daemon/cluster: fix unused context (staticcheck) 2019-09-18 12:55:42 +02:00
secrets.go Increase max recv gRPC message size for nodes and secrets 2019-06-03 11:42:31 -05:00
services.go Add swarm jobs 2020-01-13 13:21:12 -06:00
swarm.go Replace errors.Cause() with errors.Is() / errors.As() 2020-04-29 00:28:41 +02:00
tasks.go cluster: set bigger grpc limit for array requests 2018-10-30 16:02:34 -07:00
utils.go Add canonical import comment 2018-02-05 16:51:57 -05:00