summaryrefslogtreecommitdiff
path: root/plugins/module_utils/network
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2025-05-23 17:15:01 +1000
committerGitHub <noreply@github.com>2025-05-23 17:15:01 +1000
commit06bee69e0561f681a69037ce7aebe21dca25959b (patch)
treeee27928e2e3196efe98dd0a05cda84bc35d32cf6 /plugins/module_utils/network
parent2879b9a4193aa3153f05b985e1f12d78cfbe6fd0 (diff)
downloadvyos.vyos-06bee69e0561f681a69037ce7aebe21dca25959b.tar.gz
vyos.vyos-06bee69e0561f681a69037ce7aebe21dca25959b.zip
T7391 domain search fix for 1.4+ (#418)
* t7391 init * sanity * vyos_system unit test * added vyos_system v14 test cases * vyos_system integration tests fix * changelog * domain search integration test * Update plugins/modules/vyos_system.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'plugins/module_utils/network')
-rw-r--r--plugins/module_utils/network/vyos/vyos.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/module_utils/network/vyos/vyos.py b/plugins/module_utils/network/vyos/vyos.py
index 5c157818..6bd8daee 100644
--- a/plugins/module_utils/network/vyos/vyos.py
+++ b/plugins/module_utils/network/vyos/vyos.py
@@ -68,6 +68,7 @@ def get_capabilities(module):
def get_config(module, flags=None, format=None):
flags = [] if flags is None else flags
global _DEVICE_CONFIGS
+
# If _DEVICE_CONFIGS is non-empty and module.params["match"] is "none",
# return the cached device configurations. This avoids redundant calls
# to the connection when no specific match criteria are provided.