mirror of https://github.com/docker/docs.git
- 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> |
||
|---|---|---|
| .. | ||
| cli | ||
| config | ||
| __init__.py | ||
| const.py | ||
| container.py | ||
| legacy.py | ||
| progress_stream.py | ||
| project.py | ||
| service.py | ||
| state.py | ||
| utils.py | ||