Fix nil pointer dereference error in volume_stat_calculator
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
GetMetrics function expects MetricsError error with ErrCodeNotSupported code when driver for the volume does not support metrics Updated csi_metrics to return error when underlying csi driver does not have GET_VOLUME_STATS capability