mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Misc typo in logentries plugin module (#46568)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
5cd1ba3477
commit
dbc80f89ca
1 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ DOCUMENTATION = '''
|
||||||
requirements:
|
requirements:
|
||||||
- whitelisting in configuration
|
- whitelisting in configuration
|
||||||
- certifi (python library)
|
- certifi (python library)
|
||||||
- flatdict (pytnon library), if you want to use the 'flatten' option
|
- flatdict (python library), if you want to use the 'flatten' option
|
||||||
options:
|
options:
|
||||||
api:
|
api:
|
||||||
description: URI to the Logentries API
|
description: URI to the Logentries API
|
||||||
|
@ -27,7 +27,7 @@ DOCUMENTATION = '''
|
||||||
- section: callback_logentries
|
- section: callback_logentries
|
||||||
key: api
|
key: api
|
||||||
port:
|
port:
|
||||||
description: Http port to use when connecting to the API
|
description: HTTP port to use when connecting to the API
|
||||||
env:
|
env:
|
||||||
- name: LOGENTRIES_PORT
|
- name: LOGENTRIES_PORT
|
||||||
default: 80
|
default: 80
|
||||||
|
@ -52,7 +52,7 @@ DOCUMENTATION = '''
|
||||||
key: token
|
key: token
|
||||||
use_tls:
|
use_tls:
|
||||||
description:
|
description:
|
||||||
- Toggle to decidewhether to use TLS to encrypt the communications with the API server
|
- Toggle to decide whether to use TLS to encrypt the communications with the API server
|
||||||
env:
|
env:
|
||||||
- name: LOGENTRIES_USE_TLS
|
- name: LOGENTRIES_USE_TLS
|
||||||
default: False
|
default: False
|
||||||
|
@ -127,7 +127,7 @@ class PlainTextSocketAppender(object):
|
||||||
self.MIN_DELAY = 0.1
|
self.MIN_DELAY = 0.1
|
||||||
self.MAX_DELAY = 10
|
self.MAX_DELAY = 10
|
||||||
# Error message displayed when an incorrect Token has been detected
|
# Error message displayed when an incorrect Token has been detected
|
||||||
self.INVALID_TOKEN = ("\n\nIt appears the LOGENTRIES_TOKEN parameter you entered is incorrect!\n\n")
|
self.INVALID_TOKEN = "\n\nIt appears the LOGENTRIES_TOKEN parameter you entered is incorrect!\n\n"
|
||||||
# Unicode Line separator character \u2028
|
# Unicode Line separator character \u2028
|
||||||
self.LINE_SEP = u'\u2028'
|
self.LINE_SEP = u'\u2028'
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ class PlainTextSocketAppender(object):
|
||||||
self._display.vvvv("Unable to connect to Logentries: %s" % str(e))
|
self._display.vvvv("Unable to connect to Logentries: %s" % str(e))
|
||||||
|
|
||||||
root_delay *= 2
|
root_delay *= 2
|
||||||
if (root_delay > self.MAX_DELAY):
|
if root_delay > self.MAX_DELAY:
|
||||||
root_delay = self.MAX_DELAY
|
root_delay = self.MAX_DELAY
|
||||||
|
|
||||||
wait_for = root_delay + random.uniform(0, root_delay)
|
wait_for = root_delay + random.uniform(0, root_delay)
|
||||||
|
|
Loading…
Reference in a new issue