Yong Tang
f99fd5a3f9
Idempotent service update --publish-add
...
This fix tries to address the issue raised in 25375 where
`service update --publish-add` returns an error if the exact
same value is repeated (idempotent).
This fix use a map to filter out repeated port configs so
that `--publish-add` does not error out.
An integration test has been added.
This fix fixes 25375.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
(cherry picked from commit b487497cd2d7586fd7e10affdcc514ca6b7884f6)
Signed-off-by: Tibor Vass <tibor@docker.com >
2016-08-11 17:56:51 -07:00
..
2016-03-23 14:42:52 -07:00
2016-07-25 23:18:03 -07:00
2016-07-08 15:32:22 -07:00
2016-08-11 17:56:45 -07:00
2016-06-13 22:16:18 -07:00
2016-06-13 22:16:18 -07:00
2016-06-07 18:45:27 -07:00
2016-06-05 08:39:06 +02:00
2016-07-25 23:15:11 -07:00
2016-06-07 18:45:27 -07:00
2016-06-07 18:45:27 -07:00
2016-07-12 15:50:18 -07:00
2016-06-07 18:45:27 -07:00
2016-04-15 12:48:01 +02:00
2016-06-07 18:45:27 -07:00
2016-06-18 20:58:23 -07:00
2016-05-23 19:00:19 -07:00
2016-05-04 20:46:41 +02:00
2016-08-11 17:56:45 -07:00
2016-06-13 22:16:18 -07:00
2016-05-25 13:32:48 -07:00
2016-06-12 17:23:19 +02:00
2016-07-08 15:31:42 -07:00
2016-07-08 15:32:14 -07:00
2016-06-02 17:17:22 +08:00
2016-06-07 14:11:11 +02:00
2016-07-25 23:24:37 -07:00
2016-06-30 16:47:53 -07:00
2016-06-06 13:58:29 +02:00
2016-08-11 17:56:43 -07:00
2016-06-30 16:47:51 -07:00
2016-05-25 13:32:48 -07:00
2016-07-08 15:31:42 -07:00
2016-06-05 15:37:15 -04:00
2016-06-16 23:36:53 -07:00
2016-06-07 22:19:16 +08:00
2016-06-02 17:17:22 +08:00
2016-06-01 09:44:25 -07:00
2016-05-23 15:34:40 -07:00
2016-06-30 16:47:51 -07:00
2016-06-16 23:36:56 -07:00
2016-06-08 11:18:48 -07:00
2016-07-25 23:17:08 -07:00
2016-03-29 10:04:59 -07:00
2016-05-06 20:42:20 -04:00
2016-06-02 17:17:22 +08:00
2016-07-12 15:50:38 -07:00
2016-05-10 11:28:00 -07:00
2016-04-14 16:22:16 -07:00
2016-08-11 17:56:44 -07:00
2016-08-11 17:56:47 -07:00
2016-05-19 17:52:42 -05:00
2016-05-02 18:14:13 -07:00
2016-07-08 15:32:22 -07:00
2016-06-30 16:47:48 -07:00
2016-04-26 19:22:48 +08:00
2016-06-05 22:40:35 +02:00
2016-07-25 23:18:15 -07:00
2016-07-08 15:31:44 -07:00
2016-06-08 17:17:05 +02:00
2016-04-12 22:45:42 -04:00
2016-06-03 19:50:01 +02:00
2016-07-08 15:32:30 -07:00
2016-07-25 23:24:47 -07:00
2016-07-25 23:24:47 -07:00
2016-07-27 11:20:25 -07:00
2016-06-30 16:47:37 -07:00
2016-04-13 16:36:34 -04:00
2016-04-10 15:39:28 +08:00
2016-08-11 17:56:51 -07:00
2016-06-01 09:44:25 -07:00
2016-04-01 10:32:46 +08:00
2016-05-31 14:41:37 -07:00
2016-03-25 10:02:52 -04:00
2016-06-01 22:25:17 +08:00
2016-06-01 22:25:17 +08:00
2016-03-24 16:19:59 -07:00
2016-06-02 17:17:22 +08:00
2016-05-26 13:14:35 +02:00
2016-07-08 15:31:42 -07:00
2016-06-11 15:37:36 -07:00
2016-07-25 23:18:15 -07:00
2016-07-08 15:32:13 -07:00
2016-05-07 14:25:28 -07:00