Fix typos, improve markup, improve scenario guide (#699)

* Fix typos.

* Improve markup.

* Mention missing 'new' modules in scenario guide.
This commit is contained in:
Felix Fontein
2023-10-29 08:30:24 +01:00
committed by GitHub
parent fbc2750b6a
commit 1c66f880ee
12 changed files with 72 additions and 60 deletions
+1 -1
View File
@@ -455,7 +455,7 @@ class APIClient(
return self._get_result_tty(stream, res, self._check_is_tty(container))
def _get_result_tty(self, stream, res, is_tty):
# We should also use raw streaming (without keep-alives)
# We should also use raw streaming (without keep-alive)
# if we're dealing with a tty-enabled container.
if is_tty:
return self._stream_raw_result(res) if stream else \
@@ -132,7 +132,7 @@ class ContainerManager(DockerBaseClass):
self.all_options['image'].comparison = 'ignore'
if self.module.params['purge_networks']:
self.all_options['networks'].comparison = 'strict'
# Process comparsions specified by user
# Process comparisons specified by user
if self.module.params.get('comparisons'):
# If '*' appears in comparisons, process it first
if '*' in self.module.params['comparisons']: