[fix] `warn_if_reserved` expects a list (#84624)

Fixes #84623
pull/84626/head
Dominique Quatravaux 10 months ago committed by GitHub
parent 8290912eb1
commit 48d71ba3aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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):

Loading…
Cancel
Save