mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-11 20:19:38 +02:00
Remove commented out test, my bad
This commit is contained in:
parent
095f7ca56f
commit
24f4346e55
1 changed files with 0 additions and 17 deletions
|
@ -399,23 +399,6 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
)
|
)
|
||||||
return successCreatedCount
|
return successCreatedCount
|
||||||
|
|
||||||
# def _update_delete_create_hosts(
|
|
||||||
# self, deleted_values, updated_values, new_values, oldNameservers
|
|
||||||
# ):
|
|
||||||
|
|
||||||
# for hostTuple in updated_values:
|
|
||||||
# updated_response_code = self._update_host(
|
|
||||||
# hostTuple[0], hostTuple[1], oldNameservers.get(hostTuple[0])
|
|
||||||
# )
|
|
||||||
# if updated_response_code not in [
|
|
||||||
# ErrorCode.COMMAND_COMPLETED_SUCCESSFULLY,
|
|
||||||
# ErrorCode.OBJECT_EXISTS,
|
|
||||||
# ]:
|
|
||||||
# logger.warning(
|
|
||||||
# "Could not update host %s. Error code was: %s "
|
|
||||||
# % (hostTuple[0], updated_response_code)
|
|
||||||
# )
|
|
||||||
|
|
||||||
@nameservers.setter # type: ignore
|
@nameservers.setter # type: ignore
|
||||||
def nameservers(self, hosts: list[tuple[str, list]]):
|
def nameservers(self, hosts: list[tuple[str, list]]):
|
||||||
"""host should be a tuple of type str, str,... where the elements are
|
"""host should be a tuple of type str, str,... where the elements are
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue