commit | 6d3cc23499053773116b6f5e5fbd8a5a4f716413 | [log] [tgz] |
---|---|---|
author | Denis Egorenko <degorenko@mirantis.com> | Thu Sep 27 17:42:58 2018 +0400 |
committer | Denis Egorenko <degorenko@mirantis.com> | Thu Sep 27 17:43:21 2018 +0400 |
tree | 9a6024e6831a368f26d1e36a15511550ab5ee9a3 | |
parent | 92db3e113a1a822ed88093facacdf167b3bbadd9 [diff] |
Add missed common definition for mergeEnv function Change-Id: I0cbd106b5d32714a9530ecf2dab22e828818adf3
diff --git a/src/com/mirantis/mk/Common.groovy b/src/com/mirantis/mk/Common.groovy index 215cf7b..249175b 100644 --- a/src/com/mirantis/mk/Common.groovy +++ b/src/com/mirantis/mk/Common.groovy
@@ -846,6 +846,7 @@ * @param extraVars - Multiline YAML text with extra vars */ def mergeEnv(envVar, extraVars) { + def common = new com.mirantis.mk.Common() try { def extraParams = readYaml text: extraVars for(String key in extraParams.keySet()) {