mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix spelling error in connection (#54957)
`connection` module utility had a spelling error. s/catergory/category
This commit is contained in:
parent
b4f41fd9e2
commit
6fff8e1d7e
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ class Connection(object):
|
||||||
|
|
||||||
if not os.path.exists(self.socket_path):
|
if not os.path.exists(self.socket_path):
|
||||||
raise ConnectionError('socket_path does not exist or cannot be found.'
|
raise ConnectionError('socket_path does not exist or cannot be found.'
|
||||||
'\nSee the socket_path issue catergory in Network Debug and Troubleshooting Guide')
|
'\nSee the socket_path issue category in Network Debug and Troubleshooting Guide')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
data = json.dumps(req, cls=AnsibleJSONEncoder)
|
data = json.dumps(req, cls=AnsibleJSONEncoder)
|
||||||
|
@ -150,7 +150,7 @@ class Connection(object):
|
||||||
try:
|
try:
|
||||||
out = self.send(data)
|
out = self.send(data)
|
||||||
except socket.error as e:
|
except socket.error as e:
|
||||||
raise ConnectionError('unable to connect to socket. See the socket_path issue catergory in Network Debug and Troubleshooting Guide',
|
raise ConnectionError('unable to connect to socket. See the socket_path issue category in Network Debug and Troubleshooting Guide',
|
||||||
err=to_text(e, errors='surrogate_then_replace'), exception=traceback.format_exc())
|
err=to_text(e, errors='surrogate_then_replace'), exception=traceback.format_exc())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue