Skip to content

Commit

Permalink
Ensure TTL is provided as an integer (AnalogJ#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthjoshi-pc authored and MasinAD committed Mar 29, 2022
1 parent 4dcdb10 commit cf3a0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexicon/providers/godaddy.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _create_record(self, rtype, name, content):
# Append a new entry corresponding to given parameters.
data = {"type": rtype, "name": relative_name, "data": content}
if ttl:
data["ttl"] = ttl
data["ttl"] = int(ttl)

records.append(data)

Expand Down

0 comments on commit cf3a0f1

Please sign in to comment.