Skip to content

Commit 6cc6dde

Browse files
committed
Retires -> retries
1 parent b42ebc7 commit 6cc6dde

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

splunklib/binding.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,9 @@ class Context:
510510
:type splunkToken: ``string``
511511
:param headers: List of extra HTTP headers to send (optional).
512512
:type headers: ``list`` of 2-tuples.
513-
:param retires: Number of retries for each HTTP connection (optional, the default is 0).
514-
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUND TRIP CONNECTIONS TO THE SPLUNK SERVER AND BLOCK THE
515-
CURRENT THREAD WHILE RETRYING.
513+
:param retries: Number of retries for each HTTP connection (optional, the default is 0).
514+
NOTE: THIS MAY INCREASE THE NUMBER OF ROUNDTRIP CONNECTIONS
515+
TO THE SPLUNK SERVER AND BLOCK THE CURRENT THREAD WHILE RETRYING.
516516
:type retries: ``int``
517517
:param retryDelay: How long to wait between connection attempts if `retries` > 0 (optional, defaults to 10s).
518518
:type retryDelay: ``int`` (in seconds)

splunklib/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ def connect(**kwargs):
344344
:type username: ``string``
345345
:param `password`: The password for the Splunk account.
346346
:type password: ``string``
347-
:param retires: Number of retries for each HTTP connection (optional, the default is 0).
348-
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUND TRIP CONNECTIONS TO THE SPLUNK SERVER.
347+
:param retries: Number of retries for each HTTP connection (optional, the default is 0).
348+
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUNDTRIP CONNECTIONS TO THE SPLUNK SERVER.
349349
:type retries: ``int``
350350
:param retryDelay: How long to wait between connection attempts if `retries` > 0 (optional, defaults to 10s).
351351
:type retryDelay: ``int`` (in seconds)
@@ -424,8 +424,8 @@ class Service(_BaseService):
424424
:param `password`: The password, which is used to authenticate the Splunk
425425
instance.
426426
:type password: ``string``
427-
:param retires: Number of retries for each HTTP connection (optional, the default is 0).
428-
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUND TRIP CONNECTIONS TO THE SPLUNK SERVER.
427+
:param retries: Number of retries for each HTTP connection (optional, the default is 0).
428+
NOTE: THIS MAY INCREASE THE NUMBER OF ROUNDTRIP CONNECTIONS TO THE SPLUNK SERVER.
429429
:type retries: ``int``
430430
:param retryDelay: How long to wait between connection attempts if `retries` > 0 (optional, defaults to 10s).
431431
:type retryDelay: ``int`` (in seconds)

0 commit comments

Comments
 (0)