diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-04-30 14:14:14 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-06 02:17:00 -0700 |
commit | 1f7c26edbbb9fa7cfc41ba2f71f6214495c5e4de (patch) | |
tree | 0b570bcd3c3f4fb2516979a3da40dfd247289f17 /tools | |
parent | 424189775e847b5dda223434f7ec4e0a98938822 (diff) |
snapshot/scheduler: Use os.path.realpath() for path validation
In order to accomodate systems, where /var/run is a symlink to
/run, we are using os.path.realpath() for path validations.
Change-Id: I4eae536867ec6c88f92c762b92f5c1966b622bde
BUG: 1218585
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/10464
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/10573
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions