diff options
author | Kiall Mac Innes <kiall@hp.com> | 2013-04-29 18:52:00 +0100 |
---|---|---|
committer | Kiall Mac Innes <kiall@hp.com> | 2013-04-29 18:52:00 +0100 |
commit | 182f1ab71ff7abcbf54340c59dc438cacf80d066 (patch) | |
tree | 448efe28bdc44237ee51380f661dfdfb462b2c95 | |
parent | d4fd8855882ae0244a0db8132e35d014f1d8d69b (diff) | |
download | designate-182f1ab71ff7abcbf54340c59dc438cacf80d066.tar.gz |
Update report API ext method names to match URLs
Change-Id: Ie3fea57d17f1e9fada98fdaae3cc9c0e9bc3b1f5
-rw-r--r-- | moniker/api/v1/extensions/reports.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moniker/api/v1/extensions/reports.py b/moniker/api/v1/extensions/reports.py index 88e958b8..8dff2117 100644 --- a/moniker/api/v1/extensions/reports.py +++ b/moniker/api/v1/extensions/reports.py @@ -23,7 +23,7 @@ blueprint = flask.Blueprint('reports', __name__) @blueprint.route('/reports/counts', methods=['GET']) -def reports(): +def reports_counts(): context = flask.request.environ.get('context') domains = central_api.count_domains(context) @@ -34,7 +34,7 @@ def reports(): @blueprint.route('/reports/counts/domains', methods=['GET']) -def reports_domains(): +def reports_counts_domains(): context = flask.request.environ.get('context') count = central_api.count_domains(context) @@ -43,7 +43,7 @@ def reports_domains(): @blueprint.route('/reports/counts/records', methods=['GET']) -def reports_records(): +def reports_counts_records(): context = flask.request.environ.get('context') count = central_api.count_records(context) @@ -52,7 +52,7 @@ def reports_records(): @blueprint.route('/reports/counts/tenants', methods=['GET']) -def reports_tenants(): +def reports_counts_tenants(): context = flask.request.environ.get('context') count = central_api.count_tenants(context) |