Rename inner var to avoid a duplicate definition
Change-Id: I70d4819550f9e9fdf5e85e0ee05debea6b48e3d6
diff --git a/vars/installVoltctl.groovy b/vars/installVoltctl.groovy
index 4cd5cc0..6236217 100644
--- a/vars/installVoltctl.groovy
+++ b/vars/installVoltctl.groovy
@@ -27,7 +27,7 @@
// ---------------------------------------------
if (is_release && ! released.containsKey(branch)) {
// Fingers crossed: jenkins may rewrite the callstack.
- def iam = this.class.getName()
+ def myname = this.class.getName()
String url = [
'https://docs.voltha.org/master',
@@ -35,7 +35,7 @@
].join('/')
String error = [
- iam, "ERROR:",
+ myname, "ERROR:",
"Detected release version=[$branch]",
"but voltctl is not frozen.",
'',