From d5a2686d2093ea82abecaa553b045f46a2242a61 Mon Sep 17 00:00:00 2001 From: Tim de Boer Date: Sun, 7 Jan 2024 14:04:20 +0100 Subject: [PATCH] Changed primary key of 'tool netwatch' (#247) * Changed primary key of 'tool netwatch' * Removed the primary key after discussion on PR #247 * Added changelog fragment --- .../fragments/247-removed-primary-key-host-in-tool-netwatch.yml | 2 ++ plugins/module_utils/_api_data.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml diff --git a/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml b/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml new file mode 100644 index 0000000..7b7e858 --- /dev/null +++ b/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - removed ``host`` primary key in ``tool netwatch`` path (https://github.com/ansible-collections/community.routeros/pull/248). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 8c74952..5518abd 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -3670,7 +3670,6 @@ PATHS = { versioned=[ ('7', '>=', VersionedAPIData( fully_understood=True, - primary_keys=('name', ), fields={ 'certificate': KeyInfo(), 'check-certificate': KeyInfo(),