From 6fff8e1d7e46ed5c7bc498e3a566dd2dabdcaa8c Mon Sep 17 00:00:00 2001 From: Kevin Breit Date: Fri, 12 Apr 2019 15:53:59 -0500 Subject: [PATCH] Fix spelling error in connection (#54957) `connection` module utility had a spelling error. s/catergory/category --- lib/ansible/module_utils/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/connection.py b/lib/ansible/module_utils/connection.py index 91a2a9d61b..8cf8aaba41 100644 --- a/lib/ansible/module_utils/connection.py +++ b/lib/ansible/module_utils/connection.py @@ -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: