Merge "Remove dead server code in storage and add tests"

This commit is contained in:
Jenkins
2015-02-05 16:12:41 +00:00
committed by Gerrit Code Review
9 changed files with 129 additions and 127 deletions

View File

@@ -828,16 +828,6 @@ class SQLAlchemyStorage(sqlalchemy_base.SQLAlchemy, storage_base.Storage):
exceptions.ZoneTransferAcceptNotFound, criterion,
one, marker, limit, sort_key, sort_dir)
def _get_domain_name(self, context, domain_id, all_tenants=False):
if all_tenants:
ctxt = context.elevated()
ctxt.all_tenants = True
else:
ctxt = context
return self.get_domain(ctxt, domain_id).name
def create_zone_transfer_accept(self, context, zone_transfer_accept):
return self._create(