Merge "Remove unused db.api.dnsdomain_list"
This commit is contained in:
commit
b36fa81a75
@ -416,11 +416,6 @@ def floating_ip_update(context, address, values):
|
||||
return IMPL.floating_ip_update(context, address, values)
|
||||
|
||||
|
||||
def dnsdomain_list(context):
|
||||
"""Get a list of all zones in our database, public and private."""
|
||||
return IMPL.dnsdomain_list(context)
|
||||
|
||||
|
||||
def dnsdomain_get_all(context):
|
||||
"""Get a list of all dnsdomains in our database."""
|
||||
return IMPL.dnsdomain_get_all(context)
|
||||
|
@ -1055,12 +1055,6 @@ def dnsdomain_unregister(context, fqdomain):
|
||||
delete()
|
||||
|
||||
|
||||
@require_context
|
||||
def dnsdomain_list(context):
|
||||
query = model_query(context, models.DNSDomain, read_deleted="no")
|
||||
return [row.domain for row in query.all()]
|
||||
|
||||
|
||||
def dnsdomain_get_all(context):
|
||||
return model_query(context, models.DNSDomain, read_deleted="no").all()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user