Skip to content

Commit 6ce4d84

Browse files
klmp200Wescoeur
authored andcommitted
fix(linstorvolumemanager): fix typo (#106)
Fix some typo in docstring Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
1 parent 27fe0c9 commit 6ce4d84

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/linstorvolumemanager.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ def get_usage_states(self, volume_uuid):
11761176
"""
11771177
Check if a volume is currently used.
11781178
:param str volume_uuid: The volume uuid to check.
1179-
:return: A dictionnary that contains states.
1179+
:return: A dictionary that contains states.
11801180
:rtype: dict(str, bool or None)
11811181
"""
11821182

@@ -1194,22 +1194,22 @@ def get_volume_openers(self, volume_uuid):
11941194
"""
11951195
Get openers of a volume.
11961196
:param str volume_uuid: The volume uuid to monitor.
1197-
:return: A dictionnary that contains openers.
1197+
:return: A dictionary that contains openers.
11981198
:rtype: dict(str, obj)
11991199
"""
12001200
return get_all_volume_openers(self.get_volume_name(volume_uuid), '0')
12011201

12021202
def get_volumes_with_name(self):
12031203
"""
1204-
Give a volume dictionnary that contains names actually owned.
1204+
Give a volume dictionary that contains names actually owned.
12051205
:return: A volume/name dict.
12061206
:rtype: dict(str, str)
12071207
"""
12081208
return self._get_volumes_by_property(self.REG_VOLUME_NAME)
12091209

12101210
def get_volumes_with_info(self):
12111211
"""
1212-
Give a volume dictionnary that contains VolumeInfos.
1212+
Give a volume dictionary that contains VolumeInfos.
12131213
:return: A volume/VolumeInfo dict.
12141214
:rtype: dict(str, VolumeInfo)
12151215
"""
@@ -1233,7 +1233,7 @@ def get_volumes_with_info(self):
12331233

12341234
def get_volumes_with_metadata(self):
12351235
"""
1236-
Give a volume dictionnary that contains metadata.
1236+
Give a volume dictionary that contains metadata.
12371237
:return: A volume/metadata dict.
12381238
:rtype: dict(str, dict)
12391239
"""

0 commit comments

Comments
 (0)