Avoid divide by 0 on pie chart (#1043)
Avoid divide by 0 on pie chart (#1043)

Division of f64 by 0 yields NaN.

Special case when total is 0 to not divide.

Signed-off-by: Joe Grund <06d81316378f5e1e8ce132d1348b3633ffa33f28@whamcloud.io>
intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre