Fix gerrit get review function args
Change-Id: I29e9d0d20e8a164e6bc4f566e573fbdaced67f6d
diff --git a/src/com/mirantis/mk/Gerrit.groovy b/src/com/mirantis/mk/Gerrit.groovy
index bd2c4d5..410fd69 100644
--- a/src/com/mirantis/mk/Gerrit.groovy
+++ b/src/com/mirantis/mk/Gerrit.groovy
@@ -134,13 +134,13 @@
/**
* Return gerrit change object from gerrit API
- * @param gerritHost gerrit host (usually GERRIT_HOST property)
* @param gerritName gerrit user name (usually GERRIT_NAME property)
+ * @param gerritHost gerrit host (usually GERRIT_HOST property)
* @param gerritChangeNumber gerrit change number (usually GERRIT_CHANGE_NUMBER property)
* @param credentialsId jenkins credentials id for gerrit
* @return gerrit change object
*/
-def getGerritChange(gerritHost, gerritName, gerritChangeNumber, credentialsId){
+def getGerritChange(gerritName, gerritHost, gerritChangeNumber, credentialsId){
def common = new com.mirantis.mk.Common()
def ssh = new com.mirantis.mk.Ssh()
ssh.prepareSshAgentKey(credentialsId)