diff options
Diffstat (limited to 'moonclient/moonclient/configuration.py')
-rw-r--r-- | moonclient/moonclient/configuration.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moonclient/moonclient/configuration.py b/moonclient/moonclient/configuration.py index 3a77723c..a05d7151 100644 --- a/moonclient/moonclient/configuration.py +++ b/moonclient/moonclient/configuration.py @@ -18,7 +18,7 @@ class TemplatesList(Lister): return parser def take_action(self, parsed_args): - templates = self.app.get_url("/v3/OS-MOON/configuration/templates", authtoken=True) + templates = self.app.get_url(self.app.url_prefix+"/configuration/templates", authtoken=True) return ( ("id", "name", "description"), ((template_id, templates[template_id]["name"], templates[template_id]["description"]) @@ -36,7 +36,7 @@ class AggregationAlgorithmsList(Lister): return parser def take_action(self, parsed_args): - templates = self.app.get_url("/v3/OS-MOON/configuration/aggregation_algorithms", authtoken=True) + templates = self.app.get_url(self.app.url_prefix+"/configuration/aggregation_algorithms", authtoken=True) return ( ("id", "name", "description"), ((template_id, templates[template_id]["name"], templates[template_id]["description"]) @@ -54,7 +54,7 @@ class SubMetaRuleAlgorithmsList(Lister): return parser def take_action(self, parsed_args): - templates = self.app.get_url("/v3/OS-MOON/configuration/sub_meta_rule_algorithms", authtoken=True) + templates = self.app.get_url(self.app.url_prefix+"/configuration/sub_meta_rule_algorithms", authtoken=True) return ( ("id", "name", "description"), ((template_id, templates[template_id]["name"], templates[template_id]["description"]) |