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
This commit is contained in:
gaoxiaoyong
2015-08-27 03:15:22 +00:00
committed by John L. Villalovos
parent 8cd56e3e1e
commit e31daa1e68
+1 -1
View File
@@ -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}