glusterd: Error msg for snapshot status for no existing snaps
authorVijaikumar M <vmallika@redhat.com>
Tue, 15 Jul 2014 08:19:41 +0000 (13:49 +0530)
committerKrishnan Parthasarathi <kparthas@redhat.com>
Wed, 30 Jul 2014 09:39:37 +0000 (02:39 -0700)
commit9f41712d060a71259e4970b9c8b32771a6d1f2c7
tree1acc688a52c20de33d904c50b650d2e9b426334d
parent8732ee5319bfe4649473c29458a6ab65b73d5516
glusterd: Error msg for snapshot status for no existing snaps
should be aligned with error messages of info and list

When a snapshot operation like status, info, list
performed on a non-existing snapshot.
For Status error message is displayed as 'Snap not found'
For List and Info error message is displayed as 'Snapshot does not exist'
Have the consistant error message all the places

Change-Id: I7b241217dba62fda844481731a6858e4ecb12897
BUG: 1119641
Signed-off-by: Vijaikumar M <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/8309
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
xlators/mgmt/glusterd/src/glusterd-snapshot.c