Blame SOURCES/bz1662466-vdo-vol-fix-monitor-action.patch

05afe3
diff -uNr a/heartbeat/vdo-vol b/heartbeat/vdo-vol
05afe3
--- a/heartbeat/vdo-vol	2018-11-07 09:11:23.037835110 +0100
05afe3
+++ b/heartbeat/vdo-vol	2018-11-07 09:12:41.322373901 +0100
05afe3
@@ -145,7 +145,7 @@
05afe3
 
05afe3
 vdo_monitor(){
05afe3
 	status=$(vdo status $OPTIONS 2>&1)
05afe3
-	MODE=$(vdostats vdo_vol --verbose | grep "operating mode" | awk '{print $NF}')
05afe3
+	MODE=$(vdostats --verbose ${OCF_RESKEY_volume} | grep "operating mode" | awk '{print $NF}')
05afe3
 
05afe3
 	case "$status" in
05afe3
 		*"Device mapper status: not available"*)