Skip to content

Commit 7c274f7

Browse files
committed
linstorapi: fix typos in docstrings
1 parent e22b947 commit 7c274f7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

linstor/linstorapi.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2346,7 +2346,6 @@ def _set_select_filter_body(
23462346
:param Optional[list[str]] layer_list:
23472347
:param Optional[list[str]] provider_list:
23482348
:param Optional[int] additional_place_count:
2349-
:param Optional[list[str]] storage_pool_diskless_list:
23502349
:return:
23512350
"""
23522351
if "select_filter" not in body:
@@ -2564,7 +2563,7 @@ def resource_delete(self, node_name, rsc_name, async_msg=False):
25642563
def resource_delete_if_diskless(self, node_name, rsc_name):
25652564
"""
25662565
Deletes a given resource if, and only if, diskless on the given node.
2567-
If the resource does not even exit, then the delete is considered successful (NOOP).
2566+
If the resource does not even exist, then delete is considered successful (NOOP).
25682567
If the resource is not diskless, then the action is considered successful.
25692568
25702569
:param str node_name: Name of the node where the resource is deployed.
@@ -3062,7 +3061,6 @@ def _node_conn_list(self, api_call, node_a=None, node_b=None):
30623061
Request a list of all resource connection to the given resource name.
30633062
30643063
:param str api_call: API call to use internally. Determines the return type
3065-
:param str rsc_name: Name of the resource to get the connections.
30663064
:param str node_a: Name of the first node
30673065
:param str node_b: Name of the second node
30683066
:return: List of NodeConnectionsResponse or ApiCallRcResponse
@@ -3090,7 +3088,6 @@ def node_conn_list_raise(self, node_a=None, node_b=None):
30903088
"""
30913089
Request a list of all resource connection to the given resource name.
30923090
3093-
:param str rsc_name: Name of the resource to get the connections.
30943091
:param str node_a: Name of the first node
30953092
:param str node_b: Name of the second node
30963093
:return: List of NodeConnectionsResponse or ApiCallRcResponse
@@ -3484,7 +3481,7 @@ def error_report_delete(
34843481
"""
34853482
Deletes error-reports on the linstor cluster, filtered by the given parameters
34863483
3487-
:param list[str] nodes: Only delete error-reports from this nodes, if None or empty all
3484+
:param list[str] nodes: Only delete error-reports from these nodes, if None or empty all
34883485
:param datetime since: Start datetime from when to delete
34893486
:param datetime to: Until datetime to delete
34903487
:param str exception: Delete error reports matching this exception string

0 commit comments

Comments
 (0)