Added nonstring='passthru' when calling to_native to avoid passing a 'None' string to the ipa client (#48157)

This commit is contained in:
Andrea Tartaglia 2018-11-06 12:17:07 +00:00 committed by John R Barker
parent 1104387164
commit d5a4a401ea

View file

@ -211,7 +211,7 @@ def ensure(module, client):
module_dnsrecord = dict(
record_type=module.params['record_type'],
record_value=module.params['record_value'],
record_ttl=to_native(record_ttl),
record_ttl=to_native(record_ttl, nonstring='passthru'),
)
changed = False