summaryrefslogtreecommitdiff
path: root/trove/configuration
diff options
context:
space:
mode:
authorCraig Vyvial <cp16net@gmail.com>2014-11-06 23:07:53 -0600
committerCraig Vyvial <cp16net@gmail.com>2014-11-07 11:01:10 -0600
commit2964620e4b2c3570e67ec7f55175327eb8752ce8 (patch)
tree34f861139fbc4645fdaa837d9915d875546322c5 /trove/configuration
parent38aaa60b6c148c32600e057087aca804611433c8 (diff)
downloadtrove-2964620e4b2c3570e67ec7f55175327eb8752ce8.tar.gz
configuration parameters payload changed
the configuration parameters payload was originally just 'max' and 'min' for the range and was changed to 'max_value' and 'min_value' in the output. Reverting this back to the original v1 spec of 'max' and 'min'. Closes-Bug: #1390317 Change-Id: I9628313e4154048a6aa9a089a6e3ec18f9af1d33
Diffstat (limited to 'trove/configuration')
-rw-r--r--trove/configuration/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trove/configuration/views.py b/trove/configuration/views.py
index bde5dcce..b02b6b44 100644
--- a/trove/configuration/views.py
+++ b/trove/configuration/views.py
@@ -127,9 +127,9 @@ class ConfigurationParameterView(object):
"type": self.config.data_type,
}
if self.config.max_size:
- ret["max_size"] = self.config.max_size
+ ret["max"] = self.config.max_size
if self.config.min_size:
- ret["min_size"] = self.config.min_size
+ ret["min"] = self.config.min_size
return ret