docs/compose
Aanand Prasad 374b16843f 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-11-26 18:54:30 +00:00
..
cli Move volume parsing to config.types module 2015-11-23 13:33:00 -05:00
config Fix ports validation message 2015-11-26 18:54:30 +00:00
__init__.py Cherry-pick release notes froim 1.5.0 2015-11-05 10:25:46 -05:00
const.py Remove duplicate and re-order alphabetically 2015-10-01 16:06:57 +01:00
container.py Move parallel_execute to a new module. 2015-11-23 11:34:48 -05:00
legacy.py Remove flake8 ignores and wrap the longest lines to 140 char. 2015-08-26 12:53:11 -04:00
parallel.py Move parallel_execute to a new module. 2015-11-23 11:34:48 -05:00
progress_stream.py Reorganize conditional branches to improve readability 2015-11-11 11:21:24 -08:00
project.py Move service sorting to config package. 2015-11-23 13:33:00 -05:00
service.py Remove unnecessary intermediate variables in get_container_host_config. 2015-11-23 13:33:00 -05:00
state.py Implement smart recreate behind an experimental CLI flag 2015-05-18 18:39:18 +01:00
utils.py Move parallel_execute to a new module. 2015-11-23 11:34:48 -05:00