Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
cloudflare_dns: Fix SRV record idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gruener committed Mar 25, 2016
1 parent 6978984 commit 7477fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/cloudflare_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def ensure_dns_record(self,**kwargs):
"port": params['port'],
"weight": params['weight'],
"priority": params['priority'],
"name": params['record'],
"name": params['record'][:-len('.' + params['zone'])],
"proto": params['proto'],
"service": params['service']
}
Expand Down

0 comments on commit 7477fe5

Please sign in to comment.