diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2024-04-10 12:44:21 -0400 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-04-22 13:19:23 +0000 |
| commit | 448209459dfca5f361daefe526b3281976b0c732 (patch) | |
| tree | 3767d188c4bfbad6e85a37e2d35103ff58c75665 /ansible/module_utils | |
| parent | a65524d0ca2b38580ab1df36e8e2eafc6c213ddd (diff) | |
| download | kolla-ansible-448209459dfca5f361daefe526b3281976b0c732.tar.gz kolla-ansible-448209459dfca5f361daefe526b3281976b0c732.zip | |
CI: Add codespell to pep8
Fix existing spelling errors
Change-Id: Ie689cf5a344aaa630a4860448b09242333a8e119
Diffstat (limited to 'ansible/module_utils')
| -rw-r--r-- | ansible/module_utils/kolla_container_worker.py | 2 | ||||
| -rw-r--r-- | ansible/module_utils/kolla_podman_worker.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ansible/module_utils/kolla_container_worker.py b/ansible/module_utils/kolla_container_worker.py index 8e85c7fd9..c3889bab4 100644 --- a/ansible/module_utils/kolla_container_worker.py +++ b/ansible/module_utils/kolla_container_worker.py @@ -30,7 +30,7 @@ class ContainerWorker(ABC): self.systemd = SystemdWorker(self.params) - # NOTE(mgoddard): The names used by Docker are inconsisent between + # NOTE(mgoddard): The names used by Docker are inconsistent between # configuration of a container's resources and the resources in # container_info['HostConfig']. This provides a mapping between the # two. diff --git a/ansible/module_utils/kolla_podman_worker.py b/ansible/module_utils/kolla_podman_worker.py index 1cba08a12..9e27dece4 100644 --- a/ansible/module_utils/kolla_podman_worker.py +++ b/ansible/module_utils/kolla_podman_worker.py @@ -24,7 +24,7 @@ CONTAINER_PARAMS = [ 'name', # string 'cap_add', # list 'cgroupns', # 'str',choices=['private', 'host'] - 'command', # arrray of strings -- docker string + 'command', # array of strings -- docker string # this part is hidden inside dimensions 'cpu_period', # int @@ -56,7 +56,7 @@ CONTAINER_PARAMS = [ 'privileged', # bool 'restart_policy', # set to none, handled by systemd 'remove', # bool - 'restart_tries', # int doesnt matter done by systemd + 'restart_tries', # int doesn't matter done by systemd 'stop_timeout', # int 'tty' # bool # VOLUMES NOT WORKING HAS TO BE DONE WITH MOUNTS @@ -390,7 +390,7 @@ class PodmanWorker(ContainerWorker): def compare_dimensions(self, container_info): new_dimensions = self.params.get('dimensions') - # NOTE(mgoddard): The names used by Docker are inconsisent between + # NOTE(mgoddard): The names used by Docker are inconsistent between # configuration of a container's resources and the resources in # container_info['HostConfig']. This provides a mapping between the # two. |
