docs/compose
Aanand Prasad 527bf3b023 Fix ports validation message
- The `raises` kwarg to the `cls_check` decorator was being used
  incorrectly (it should be an exception class, not an object).

- We need to check for `error.cause` and get the message out of the
  exception object.

NB: The particular case where validation fails in the case of `ports` is
only when ranges don't match in length - no further validation is
currently performed client-side.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-03 11:05:05 -08:00
..
cli Move volume parsing to config.types module 2015-12-02 17:31:48 -08:00
config Fix ports validation message 2015-12-03 11:05:05 -08:00
__init__.py Bump 1.5.1 2015-11-12 15:02:12 -05:00
const.py Remove duplicate and re-order alphabetically 2015-10-01 16:06:57 +01:00
container.py Logs are available for all log drivers except for none. 2015-10-29 15:01:33 -04:00
legacy.py Remove flake8 ignores and wrap the longest lines to 140 char. 2015-08-26 12:53:11 -04:00
progress_stream.py Reorganize conditional branches to improve readability 2015-11-12 13:54:41 -05:00
project.py Move service sorting to config package. 2015-12-02 17:31:48 -08:00
service.py Remove unnecessary intermediate variables in get_container_host_config. 2015-12-02 17:31:48 -08:00
state.py Implement smart recreate behind an experimental CLI flag 2015-05-18 18:39:18 +01:00
utils.py Fixes #2398 - the build progress stream can contain empty json objects. 2015-12-02 17:31:48 -08:00