1
0
Fork 0
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:
Kevin Breit 2019-04-12 15:53:59 -05:00 committed by Brian Coca
parent b4f41fd9e2
commit 6fff8e1d7e

View file

@ -137,7 +137,7 @@ class Connection(object):
if not os.path.exists(self.socket_path):
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:
data = json.dumps(req, cls=AnsibleJSONEncoder)
@ -150,7 +150,7 @@ class Connection(object):
try:
out = self.send(data)
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())
try: