mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-22 07:16:41 +00:00
execCommandErr returns both error and stderror message. checking strings.HasPrefix is not helpful as the stderr will be the first string. its good to do string comparison and find out that error is volume not found error. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit 31c7c95fdbabb4e43bcf7551cd0b8a596d94b606)