cloudflare_dns: Fix SRV record idempotency

This commit is contained in:
Michael Gruener 2016-03-25 18:07:50 +01:00
parent 6978984244
commit 7477fe5141

View file

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