Sebastiaan van Stijn
9e849b264c
Fix restartpolicy max-retry validation
...
the restart policy validation was moved from
the client to the daemon in 94e95e4711643640701bd614902e75a2d01f12c5
As part of that change, retry-counts < 1
were marked as "invalid".
However, the default is 0 (unlimited), causing
docker run -d --restart=on-failure nginx
To fail.
This changes the validation to only invalidate
retry-counts < 0.
A test was added, and other tests renamed
to allow running just these tests :)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 9db5d649aea1c3d4728d0159bb5175a49f77748e
Component: engine
2016-12-02 02:39:16 +01:00
..
2016-11-30 10:08:43 +01:00
2016-10-28 05:20:49 +02:00
2016-11-14 15:15:09 -05:00
2016-11-22 16:58:30 -08:00
2016-11-26 17:23:21 +08:00
2016-11-30 13:27:40 -08:00
2016-11-10 14:04:08 -05:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-10-28 11:06:54 -07:00
2016-11-23 13:23:07 -08:00
2016-10-25 06:43:54 +00:00
2016-11-28 10:30:45 -08:00
2016-11-09 07:42:44 -08:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-11-22 12:49:38 +00:00
2016-11-09 07:42:44 -08:00
2016-11-22 12:49:38 +00:00
2016-11-07 09:06:34 -08:00
2016-11-22 09:54:45 -08:00
2016-11-25 14:58:20 +00:00
2016-12-02 02:39:16 +01:00
2016-11-16 13:38:45 -08:00
2016-11-22 12:49:38 +00:00
2016-11-10 15:51:32 -08:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-11-23 12:53:25 +01:00
2016-11-21 17:40:31 -08:00
2016-11-30 20:01:29 +01:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-17 13:10:48 -05:00
2016-11-22 12:49:38 +00:00
2016-11-11 15:34:01 +01:00
2016-11-08 17:41:56 -08:00
2016-11-22 12:49:38 +00:00
2016-11-07 09:06:34 -08:00
2016-11-15 20:10:16 -08:00
2016-11-18 18:54:36 -08:00
2016-10-27 10:34:38 -07:00
2016-10-27 10:34:38 -07:00
2016-11-18 18:32:02 -08:00
2016-11-11 15:34:01 +01:00
2016-11-19 13:21:16 +01:00
2016-11-19 13:21:16 +01:00
2016-11-19 13:21:16 +01:00
2016-11-07 09:06:34 -08:00
2016-11-01 23:09:30 +08:00
2016-11-08 19:54:57 -08:00
2016-11-23 09:28:13 +08:00
2016-10-27 10:34:38 -07:00
2016-11-14 15:15:09 -05:00
2016-11-23 13:23:07 -08:00
2016-11-28 16:54:56 -08:00
2016-11-22 14:32:07 -08:00
2016-11-07 09:06:34 -08:00
2016-11-04 13:38:50 -07:00
2016-10-25 06:43:54 +00:00
2016-10-28 07:56:05 -04:00
2016-11-02 21:41:29 +01:00
2016-11-09 14:27:43 -05:00
2016-11-09 14:27:43 -05:00
2016-11-17 15:49:02 -05:00
2016-11-07 09:06:34 -08:00
2016-11-10 09:54:40 -08:00
2016-11-10 14:04:08 -05:00
2016-11-22 12:49:38 +00:00
2016-10-31 11:16:02 -04:00
2016-11-21 19:56:01 +08:00
2016-11-22 12:49:38 +00:00
2016-11-23 09:56:02 -08:00