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

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