jungaretti/bacon

Ignore TTL/priority of 0

jungaretti opened this issue · 0 comments

It makes sense to store TTL and priority values as numbers in config files, but this means we unmarshal a value of 0 when they aren't specified. We should treat 0, "0", and "" the same way when comparing records. We should only include a numerical value for TTL and priority in requests to Porkbun if their value is above 0.