summaryrefslogtreecommitdiffstats
path: root/src/python-common
diff options
context:
space:
mode:
Diffstat (limited to 'src/python-common')
-rw-r--r--src/python-common/ceph/deployment/drive_group.py2
-rw-r--r--src/python-common/ceph/deployment/drive_selection/matchers.py6
-rw-r--r--src/python-common/ceph/deployment/service_spec.py2
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