From be3ed99428f8638095710f6aa94f967d43e6c157 Mon Sep 17 00:00:00 2001
From: Xiaojun Liao <xiaojunliao85@gmail.com>
Date: Wed, 13 Dec 2017 11:01:09 +0800
Subject: [PATCH] Keep v3 api-ref error response code 404 for reverting

Client can still receive the 404/NotFound when attempting
the fetch of the volume.

Change-Id: Ieafaae5ccb5a23b4d3ad37b8e7eee40484346cfc
Signed-off-by: Xiaojun Liao <xiaojunliao85@gmail.com>
---
 api-ref/source/v3/volumes-v3-volumes-actions.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api-ref/source/v3/volumes-v3-volumes-actions.inc b/api-ref/source/v3/volumes-v3-volumes-actions.inc
index 873f3227781..2d709e092e2 100644
--- a/api-ref/source/v3/volumes-v3-volumes-actions.inc
+++ b/api-ref/source/v3/volumes-v3-volumes-actions.inc
@@ -111,7 +111,7 @@ Revert a volume to its latest snapshot, this API only support reverting a detach
 
 Normal response codes: 202
 
-Error response codes: 400(HTTPBadRequest), 403(HTTPForbidden), 409(HTTPConflict)
+Error response codes: 400(HTTPBadRequest), 403(HTTPForbidden), 404(HTTPNotFound), 409(HTTPConflict)
 
 Request
 -------