Fix wrappers for generic HTTP call method
Change-Id: Ic748953bd59b5204a0c3194bfabad7632207f0ea
diff --git a/src/com/mirantis/mk/Http.groovy b/src/com/mirantis/mk/Http.groovy
index 85b14e5..2fa5980 100644
--- a/src/com/mirantis/mk/Http.groovy
+++ b/src/com/mirantis/mk/Http.groovy
@@ -308,7 +308,7 @@
* @return Array containing return code and text
*/
def get(String url, String credsId = '', Map params = [:]) {
- return Call(url, 'GET', credsId, null, null, params)
+ return call(url, 'GET', credsId, null, null, params)
}
/**
@@ -324,7 +324,7 @@
*/
def post(String url, String credsId = '',
String pushData = '', String pushType = '', Map params = [:]) {
- return Call(url, 'POST', credsId, pushData, pushType, params)
+ return call(url, 'POST', credsId, pushData, pushType, params)
}
/**
@@ -340,7 +340,7 @@
*/
def put(String url, String credsId = '',
String pushData = '', String pushType = '', Map params = [:]) {
- return Call(url, 'PUT', credsId, pushData, pushType, params)
+ return call(url, 'PUT', credsId, pushData, pushType, params)
}
/**
@@ -353,5 +353,5 @@
* @return Array containing return code and text
*/
def delete(String url, String credsId = '', Map params = [:]) {
- return Call(url, 'DELETE', credsId, null, null, params)
+ return call(url, 'DELETE', credsId, null, null, params)
}