mirror of https://github.com/docker/docker-py.git
Spelling fixes (#2571)
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
parent
dd0450a14c
commit
631abd156a
|
@ -1125,7 +1125,7 @@ class ContainerApiMixin(object):
|
||||||
else:
|
else:
|
||||||
if decode:
|
if decode:
|
||||||
raise errors.InvalidArgument(
|
raise errors.InvalidArgument(
|
||||||
"decode is only available in conjuction with stream=True"
|
"decode is only available in conjunction with stream=True"
|
||||||
)
|
)
|
||||||
return self._result(self._get(url, params={'stream': False}),
|
return self._result(self._get(url, params={'stream': False}),
|
||||||
json=True)
|
json=True)
|
||||||
|
|
|
@ -129,7 +129,7 @@ Change log
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
* Fix base_url to keep TCP protocol on utils.py by letting the responsability of changing the
|
* Fix base_url to keep TCP protocol on utils.py by letting the responsibility of changing the
|
||||||
protocol to `parse_host` afterwards, letting `base_url` with the original value.
|
protocol to `parse_host` afterwards, letting `base_url` with the original value.
|
||||||
* XFAIL test_attach_stream_and_cancel on TLS
|
* XFAIL test_attach_stream_and_cancel on TLS
|
||||||
|
|
||||||
|
@ -1233,7 +1233,7 @@ like the others
|
||||||
(`Client.volumes`, `Client.create_volume`, `Client.inspect_volume`,
|
(`Client.volumes`, `Client.create_volume`, `Client.inspect_volume`,
|
||||||
`Client.remove_volume`).
|
`Client.remove_volume`).
|
||||||
* Added support for the `group_add` parameter in `create_host_config`.
|
* Added support for the `group_add` parameter in `create_host_config`.
|
||||||
* Added support for the CPU CFS (`cpu_quota` and `cpu_period`) parameteres
|
* Added support for the CPU CFS (`cpu_quota` and `cpu_period`) parameters
|
||||||
in `create_host_config`.
|
in `create_host_config`.
|
||||||
* Added support for the archive API endpoint (`Client.get_archive`,
|
* Added support for the archive API endpoint (`Client.get_archive`,
|
||||||
`Client.put_archive`).
|
`Client.put_archive`).
|
||||||
|
|
|
@ -335,7 +335,7 @@ class ExcludePathsTest(unittest.TestCase):
|
||||||
# Dockerignore reference stipulates that absolute paths are
|
# Dockerignore reference stipulates that absolute paths are
|
||||||
# equivalent to relative paths, hence /../foo should be
|
# equivalent to relative paths, hence /../foo should be
|
||||||
# equivalent to ../foo. It also stipulates that paths are run
|
# equivalent to ../foo. It also stipulates that paths are run
|
||||||
# through Go's filepath.Clean, which explicitely "replace
|
# through Go's filepath.Clean, which explicitly "replace
|
||||||
# "/.." by "/" at the beginning of a path".
|
# "/.." by "/" at the beginning of a path".
|
||||||
assert exclude_paths(
|
assert exclude_paths(
|
||||||
base,
|
base,
|
||||||
|
|
Loading…
Reference in New Issue