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

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