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