mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
CloudflareProvider._hash_data is no longer used
This commit is contained in:
@@ -7,7 +7,6 @@ from __future__ import absolute_import, division, print_function, \
|
||||
|
||||
from collections import defaultdict
|
||||
from logging import getLogger
|
||||
from json import dumps
|
||||
from requests import Session
|
||||
|
||||
from ..record import Record, Update
|
||||
@@ -348,11 +347,6 @@ class CloudflareProvider(BaseProvider):
|
||||
for content in self._gen_data(new):
|
||||
self._request('POST', path, data=content)
|
||||
|
||||
def _hash_data(self, data):
|
||||
# Some of the dicts are nested so this seems about as good as any
|
||||
# option we have for consistently hashing them (within a single run)
|
||||
return hash(dumps(data, sort_keys=True))
|
||||
|
||||
def _apply_Update(self, change):
|
||||
# Note that all CF records have a `content` field the value of which
|
||||
# appears to be a unique/hashable string for the record's. It includes
|
||||
|
||||
Reference in New Issue
Block a user