cloudflare_dns: Fix SRV record idempotency

This commit is contained in:
Michael Gruener 2016-03-25 18:07:50 +01:00 committed by Matt Clay
parent 594c9ff217
commit 85d41db922

View file

@ -438,7 +438,7 @@ class CloudflareAPI(object):
"port": params['port'], "port": params['port'],
"weight": params['weight'], "weight": params['weight'],
"priority": params['priority'], "priority": params['priority'],
"name": params['record'], "name": params['record'][:-len('.' + params['zone'])],
"proto": params['proto'], "proto": params['proto'],
"service": params['service'] "service": params['service']
} }