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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| errors.py | ||
| fields_schema.json | ||
| interpolation.py | ||
| service_schema.json | ||
| sort_services.py | ||
| types.py | ||
| validation.py | ||