diff options
author | Adam King <47704447+adk3798@users.noreply.github.com> | 2023-05-03 23:31:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 23:31:04 +0200 |
commit | 2f3afa76ee86d7485b867e7d85293153ab8a9485 (patch) | |
tree | 791adabb85d6830044af6980c69597720f7daa65 /src/python-common | |
parent | Merge pull request #50976 from phlogistonjohn/jjm-issue59270-inbuf (diff) | |
parent | orchestrator: fix spelling errors (diff) | |
download | ceph-2f3afa76ee86d7485b867e7d85293153ab8a9485.tar.xz ceph-2f3afa76ee86d7485b867e7d85293153ab8a9485.zip |
Merge pull request #51226 from jsoref/spelling-orchestrator
orchestrator: Fix spelling
Reviewed-by: Adam King<adking@redhat.com>
Diffstat (limited to 'src/python-common')
-rw-r--r-- | src/python-common/ceph/deployment/drive_group.py | 2 | ||||
-rw-r--r-- | src/python-common/ceph/deployment/drive_selection/matchers.py | 6 | ||||
-rw-r--r-- | src/python-common/ceph/deployment/service_spec.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/python-common/ceph/deployment/drive_group.py b/src/python-common/ceph/deployment/drive_group.py index e8ee85885f6..7ac9759523d 100644 --- a/src/python-common/ceph/deployment/drive_group.py +++ b/src/python-common/ceph/deployment/drive_group.py @@ -66,7 +66,7 @@ class DeviceSelection(object): self.vendor = vendor #: Size specification of format LOW:HIGH. - #: Can also take the the form :HIGH, LOW: + #: Can also take the form :HIGH, LOW: #: or an exact value (as ceph-volume inventory reports) self.size: Optional[str] = size diff --git a/src/python-common/ceph/deployment/drive_selection/matchers.py b/src/python-common/ceph/deployment/drive_selection/matchers.py index 619797bf56c..df502410aeb 100644 --- a/src/python-common/ceph/deployment/drive_selection/matchers.py +++ b/src/python-common/ceph/deployment/drive_selection/matchers.py @@ -187,7 +187,7 @@ class SizeMatcher(Matcher): # type: (str, str) -> None # The 'key' value is overwritten here because - # the user_defined attribute does not neccessarily + # the user_defined attribute does not necessarily # correspond to the desired attribute # requested from the inventory output Matcher.__init__(self, key, value) @@ -372,7 +372,7 @@ class SizeMatcher(Matcher): if not disk: return False disk_value = self._get_disk_key(disk) - # This doesn't neccessarily have to be a float. + # This doesn't necessarily have to be a float. # The current output from ceph-volume gives a float.. # This may change in the future.. # todo: harden this paragraph @@ -388,7 +388,7 @@ class SizeMatcher(Matcher): if disk_size_in_byte <= self.to_byte( self.high) and disk_size_in_byte >= self.to_byte(self.low): return True - # is a else: return False neccessary here? + # is a else: return False necessary here? # (and in all other branches) logger.debug("Disk didn't match for 'high/low' filter") diff --git a/src/python-common/ceph/deployment/service_spec.py b/src/python-common/ceph/deployment/service_spec.py index f3299e5903c..df99e3bbee2 100644 --- a/src/python-common/ceph/deployment/service_spec.py +++ b/src/python-common/ceph/deployment/service_spec.py @@ -640,7 +640,7 @@ class ServiceSpec(object): understanding of what fields are special for a give service type. Note, we'll need to stay compatible with both versions for the - the next two major releases (octoups, pacific). + the next two major releases (octopus, pacific). :param json_spec: A valid dict with ServiceSpec |