Skip to content

Commit

Permalink
Merge pull request #178 from ceph/fix-typo
Browse files Browse the repository at this point in the history
preflight: fix a typo
  • Loading branch information
guits authored Nov 30, 2022
2 parents ab4da38 + 986b144 commit 9550432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
baseurl: "{{ item.baseurl }}"
file: "{{ item.ceph_custom | default(omit) }}"
priority: "{{ item.priority | default(omit) }}"
enabled: "{{ item.enabled | defualt(omit) }}"
enabled: "{{ item.enabled | default(omit) }}"
register: result
until: result is succeeded
loop: "{{ ceph_custom_repositories }}"
Expand Down
4 changes: 2 additions & 2 deletions library/ceph_orch_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.

from __future__ import absolute_import, division, print_function
from typing import List, Tuple
from typing import Optional, List, Tuple
__metaclass__ = type

from ansible.module_utils.basic import AnsibleModule # type: ignore
Expand Down Expand Up @@ -134,7 +134,7 @@ def update_host(module: "AnsibleModule",
action: str,
name: str,
address: str = '',
labels: List[str] = None) -> Tuple[int, List[str], str, str]:
labels: Optional[List[str]] = None) -> Tuple[int, List[str], str, str]:
cmd = build_base_cmd_orch(module)
cmd.extend(['host', action, name])
if action == 'add' and address:
Expand Down

0 comments on commit 9550432

Please sign in to comment.