diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-08-05 13:49:41 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2015-08-23 23:57:42 -0700 |
commit | 4c3cf5c6ba58946c2f26a34cdfeaacdc25e20803 (patch) | |
tree | ce0b88e6d741c6f8bfd8ce9896cb8a6fe66abf58 /rfc.sh | |
parent | 246dae5b89770a4642d4fbe4650a44475144c55a (diff) |
snapshot/scheduler: Check if volume exists before adding/editing schedules
Backport of http://review.gluster.org/#/c/11830/
Before adding or editing a scheduler, check if the volume name provided
in the schedule, exists in the cluster or not.
Added return code VOLUME_DOES_NOT_EXIST(17) for the same.
Change-Id: Ia3fe3cc1e1568ddd10f9193bbf40a098f0fe990a
BUG: 1245923
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/11917
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: mohammed rafi kc <rkavunga@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'rfc.sh')
0 files changed, 0 insertions, 0 deletions