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

pull/60945/head
Andrea Tartaglia 6 years ago committed by John R Barker
parent 1104387164
commit d5a4a401ea

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

Loading…
Cancel
Save