Revert "Fix wrappers for generic HTTP call method"
This reverts commit a4ca3687b8184fc3356a7714f048bb6bbd6d40e1.
Change-Id: Ibb13065f678825debcdb14efee78873599b1e880
diff --git a/src/com/mirantis/mk/Http.groovy b/src/com/mirantis/mk/Http.groovy
index 2fa5980..85b14e5 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)
}