From 955c9307835e44c7e4d951214c8dda3275d562d1 Mon Sep 17 00:00:00 2001 From: NilashishC Date: Thu, 29 Aug 2024 18:00:37 +0530 Subject: [PATCH] sanity fix Signed-off-by: NilashishC --- changelogs/fragments/bye_connection_local.yaml | 3 +-- changelogs/fragments/update_error_msg.yaml | 2 +- plugins/connection/persistent.py | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/changelogs/fragments/bye_connection_local.yaml b/changelogs/fragments/bye_connection_local.yaml index d67b9ba67..e138a5109 100644 --- a/changelogs/fragments/bye_connection_local.yaml +++ b/changelogs/fragments/bye_connection_local.yaml @@ -1,4 +1,3 @@ --- minor_changes: - - ansible.netcommon.persistent - Connection local is marked deprecated dependent colletions are adviced to move to proper connection plugin, complete support of connection local will be removed in a release 01-01-2027. - - Cleaning up already deprecated code in netconf action class. + - ansible.netcommon.persistent - Connection local is marked deprecated and all dependent collections are advised to move to a proper connection plugin, complete support of connection local will be removed in a release 01-01-2027. diff --git a/changelogs/fragments/update_error_msg.yaml b/changelogs/fragments/update_error_msg.yaml index d25bc5f2a..cca00aac0 100644 --- a/changelogs/fragments/update_error_msg.yaml +++ b/changelogs/fragments/update_error_msg.yaml @@ -1,3 +1,3 @@ --- -trivial: +bugfixes: - Updated the error message for the content_templates parser to include the correct parser name and detailed error information. diff --git a/plugins/connection/persistent.py b/plugins/connection/persistent.py index 7ca273a61..0982cdebc 100644 --- a/plugins/connection/persistent.py +++ b/plugins/connection/persistent.py @@ -73,7 +73,9 @@ def run(self): host=self._play_context.remote_addr, ) display.deprecated( - "support for connection local has been deprecated from ansible.netcommon and will be removed in a release after 01-01-2027" + msg="support for connection local has been deprecated", + date="2027-01-01", + collection_name="ansible.netcommon", ) variables = {"ansible_command_timeout": self.get_option("persistent_command_timeout")} socket_path = start_connection(self._play_context, variables, self._task_uuid)