[fix] warn_if_reserved expects a list (#84624)

Fixes #84623
This commit is contained in:
Dominique Quatravaux
2025-01-28 18:46:10 +00:00
committed by GitHub
parent 8290912eb1
commit 48d71ba3aa
+1 -1
View File
@@ -594,7 +594,7 @@ class VariableManager:
Sets a value in the vars_cache for a host.
"""
warn_if_reserved(varname)
warn_if_reserved([varname])
if host not in self._vars_cache:
self._vars_cache[host] = dict()
if varname in self._vars_cache[host] and isinstance(self._vars_cache[host][varname], MutableMapping) and isinstance(value, MutableMapping):