mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct attempting to use the serializer_name to pull deserializer_opts
when deserializer_name is used as the key in the deserializer_options dict.
This commit is contained in:
parent
6eb2bce9be
commit
84ff03ad6e
1 changed files with 1 additions and 1 deletions
|
@ -6846,7 +6846,7 @@ def serialize(name,
|
|||
try:
|
||||
existing_data = __serializers__[deserializer_name](
|
||||
fhr,
|
||||
**deserializer_options.get(serializer_name, {})
|
||||
**deserializer_options.get(deserializer_name, {})
|
||||
)
|
||||
except (TypeError, DeserializationError) as exc:
|
||||
ret['result'] = False
|
||||
|
|
Loading…
Add table
Reference in a new issue