Merge "Fix error message from share server API" into stable/xena
This commit is contained in:
@@ -94,8 +94,8 @@ class ShareServerController(wsgi.Controller):
|
||||
except exception.ShareServerNotFound as e:
|
||||
raise exc.HTTPNotFound(explanation=e.msg)
|
||||
except exception.ShareNetworkNotFound:
|
||||
msg = _("Share server %s could not be found. Its associated "
|
||||
"share network does not "
|
||||
msg = _("Share server could not be found. Its "
|
||||
"associated share network %s does not "
|
||||
"exist.") % server.share_network_subnet['share_network_id']
|
||||
raise exc.HTTPNotFound(explanation=msg)
|
||||
return self._view_builder.build_share_server(req, server)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
`bug #2025649
|
||||
<https://bugs.launchpad.net/manila/+bug/2025649>`_: Fixed share
|
||||
server API error message.
|
||||
Reference in New Issue
Block a user