diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2016-09-16 17:20:16 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2016-09-18 23:21:24 -0700 |
commit | b91d50b07b26041fa2205600cc8c7e95a10b870a (patch) | |
tree | 9e5aa15b4e056dbf369406416cfc83c454a5b6ca /tests/test_swap.py | |
parent | 5c3865717de1a2ef58a0021e6a1ff4d17e0f9056 (diff) |
check perf data exists before processing
We may not have performance data for a given period of time. So
in this case perf statistics returned by sadf will be None. We
should make sure that it not None before further processing
the perf data.
Change-Id: If311035ae76403b356e51f0fe50f5ffddec9d18b
Bug-Url: https://bugzilla.redhat.com/1328191
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/15526
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'tests/test_swap.py')
0 files changed, 0 insertions, 0 deletions