Fix commiter vars
Change-Id: I87bcb4594c1367233e4eb76250a578e961e79844
Related-Prod: PRODX-14577
diff --git a/src/com/mirantis/mk/Gerrit.groovy b/src/com/mirantis/mk/Gerrit.groovy
index c97ad90..4d04906 100644
--- a/src/com/mirantis/mk/Gerrit.groovy
+++ b/src/com/mirantis/mk/Gerrit.groovy
@@ -505,7 +505,7 @@
def cmd
def credentials = common.getCredentialsById(credentialsId)
Map gerritUserOptions = getGerritUserOptions(credentialsId)
- String gitCommiterOpts = "GIT_COMMITER_EMAIL=\'${gerritUserOptions['changeAuthorEmail']}\' GIT_COMMITER_NAME=\'${gerritUserOptions['changeAuthorName']}\'"
+ String gitCommiterOpts = "GIT_COMMITTER_EMAIL=\'${gerritUserOptions['changeAuthorEmail']}\' GIT_COMMITTER_NAME=\'${gerritUserOptions['changeAuthorName']}\'"
switch(type) {
case 'cherry-pick':
cmd = "git fetch ${url} ${reference} && ${gitCommiterOpts} git cherry-pick FETCH_HEAD"