summaryrefslogtreecommitdiff
path: root/plugins/modules
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-04-08 05:18:18 +1000
committerGitHub <noreply@github.com>2026-04-08 05:18:18 +1000
commitc05a887638935a614bbfdf44882d7f37b5c5135a (patch)
tree2234ae4f669cef763376b2b6a28eb412f93f8f2c /plugins/modules
parent7fc565c752f35356db8e4c0d8598cf92337ce675 (diff)
parent16e6f21de8e90833e2284aeab6cd39d2e1482155 (diff)
downloadvyos.vyos-c05a887638935a614bbfdf44882d7f37b5c5135a.tar.gz
vyos.vyos-c05a887638935a614bbfdf44882d7f37b5c5135a.zip
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-6
Diffstat (limited to 'plugins/modules')
-rw-r--r--plugins/modules/vyos_user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index 7aaa45ae..d2f23509 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -363,6 +363,8 @@ def get_param_value(key, item, module):
# if key doesn't exist in the item, get it from module.params
if not item.get(key):
value = module.params[key]
+ else:
+ value = item.get(key)
# validate the param value (if validator func exists)
validator = globals().get("validate_%s" % key)