summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Liu <liujiong@gohighsec.com>2017-11-17 16:42:09 +0800
committerJeremy Liu <liujiong@gohighsec.com>2017-11-28 12:57:37 +0000
commitce11e098987d59534875bc4a81d96a28b371aadd (patch)
tree3df18c72b49d27cb7f188cff3dd58693c9aaf9f2
parentb58453fa85c973d86efe988a44142cc57a4e5a37 (diff)
Correct rating API uri
Notes
Notes (review): Code-Review+1: Luka Peschke <luka.peschke@objectif-libre.com> Code-Review+2: Maxime Cottret <maxime.cottret@objectif-libre.com> Code-Review+1: Christophe Sauthier <christophe.sauthier@objectif-libre.com> Workflow+1: Guillaume Espanel <guillaume.espanel@objectif-libre.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 28 Nov 2017 13:39:18 +0000 Reviewed-on: https://review.openstack.org/521001 Project: openstack/cloudkitty-tempest-plugin Branch: refs/heads/master
-rw-r--r--cloudkitty_tempest_plugin/services/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudkitty_tempest_plugin/services/client.py b/cloudkitty_tempest_plugin/services/client.py
index 911d21d..4fcbf81 100644
--- a/cloudkitty_tempest_plugin/services/client.py
+++ b/cloudkitty_tempest_plugin/services/client.py
@@ -106,7 +106,7 @@ class RatingClient(rest_client.RestClient):
106 106
107 def update_rating_module(self, module_name, description='', 107 def update_rating_module(self, module_name, description='',
108 enabled=False, hot_config=True, priority=1): 108 enabled=False, hot_config=True, priority=1):
109 uri = '/rating/modules/' 109 uri = '/rating/modules/' + module_name + '/'
110 request_body = { 110 request_body = {
111 'module_id': module_name, 111 'module_id': module_name,
112 'description': description, 112 'description': description,