summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-30 11:22:33 +0000
committerGerrit Code Review <review@openstack.org>2017-03-30 11:22:33 +0000
commitd09bf88a2b2c40fe5ff36265c68a0b595264e152 (patch)
treed95a969f569c48279b7fc75beb4a074f93d44b05
parent22e8bb2b4d3ed26519621847b4c9e1d820c8fe3c (diff)
parente0d128b9aba60d86fc451eadf6e259d9f6e317b8 (diff)
downloadironic-d09bf88a2b2c40fe5ff36265c68a0b595264e152.tar.gz
Merge "Remove extra blank space in ClientSide error msg"
-rw-r--r--ironic/api/controllers/v1/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/api/controllers/v1/utils.py b/ironic/api/controllers/v1/utils.py
index b17d7c1a1..da5b5ec0b 100644
--- a/ironic/api/controllers/v1/utils.py
+++ b/ironic/api/controllers/v1/utils.py
@@ -89,7 +89,7 @@ def apply_jsonpatch(doc, patch):
if p['op'] == 'add' and p['path'].count('/') == 1:
if p['path'].lstrip('/') not in doc:
msg = _('Adding a new attribute (%s) to the root of '
- ' the resource is not allowed')
+ 'the resource is not allowed')
raise wsme.exc.ClientSideError(msg % p['path'])
return jsonpatch.apply_patch(doc, jsonpatch.JsonPatch(patch))