cloudflare_dns: Fix SRV record idempotency
This commit is contained in:
parent
6978984244
commit
7477fe5141
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue