From e31daa1e681d3957c8c499dd3406f6bebae7d94d Mon Sep 17 00:00:00 2001 From: gaoxiaoyong Date: Thu, 27 Aug 2015 03:15:22 +0000 Subject: [PATCH] Fix minor spelling/grammar errors Revise "needs value" to "need a value" in "/ironic/api/controllers/v1/types.py" Closes-Bug: #1488776 Change-Id: I3dd1db0bf5c02b6a8d824aca5016057180306340 --- ironic/api/controllers/v1/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic/api/controllers/v1/types.py b/ironic/api/controllers/v1/types.py index 3de2cb49c38..fdd45fb4da7 100644 --- a/ironic/api/controllers/v1/types.py +++ b/ironic/api/controllers/v1/types.py @@ -262,7 +262,7 @@ class JsonPatchType(wtypes.Base): if patch.op != 'remove': if patch.value is wsme.Unset: - msg = _("'add' and 'replace' operations needs value") + msg = _("'add' and 'replace' operations need a value") raise wsme.exc.ClientSideError(msg) ret = {'path': patch.path, 'op': patch.op}