Fix for a method call to use Map
Related: PROD-28135
Change-Id: Ic4d4439b9d62b13471a395183f2d712b9cf2bd11
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index db2c570..f3a5493 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -1245,7 +1245,7 @@
def getIostatValues(Map params) {
def common = new com.mirantis.mk.Common()
def ret = [:]
- if (isPackageInstalled(params.saltId, params.target, 'sysstat', false)) {
+ if (isPackageInstalled(['saltId': params.saltId, 'target': params.target, 'packageName': 'sysstat', 'output': false])) {
def arg = [params.get('interval', 1), params.get('count', 5), params.get('disks', '')]
def res = getReturnValues(runSaltProcessStep(params.saltId, params.target, 'disk.iostat', arg, null, params.output))
if (res instanceof Map) {