diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-04-06 14:13:09 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-07 06:37:32 -0700 |
commit | 6816c7d46630747dd76cdd9ff90eab77e1e4f95c (patch) | |
tree | 833cbf8f29155259506b662f32a925c2ef42b9c1 /extras/Solaris | |
parent | aa0befea352402922839dd846c798c0da2afd271 (diff) |
snapshot/scheduler: Check the correctness of Jobname and Volname
Check for the correctness of Jobname and Volname. They should
not be empty, and should contain only one word.
If this condition is met, the rest of the whitespaces are
also striped, before processing the command.
Change-Id: I2c9503ab86456e0f4b37e31d483ee8b2d0b0e1af
BUG: 1209120
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/10137
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/Solaris')
0 files changed, 0 insertions, 0 deletions