1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Remove value quotes

This commit is contained in:
Ewout Prangsma 2018-03-27 10:22:42 +02:00
parent 1ac163dd8e
commit 9a649964b4
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -34,7 +34,7 @@ def fetchParamsFromGitLog() {
def idx = opt.indexOf('=');
if (idx > 0) {
def key = opt.substring(0, idx);
def value = opt.substring(idx+1);
def value = opt.substring(idx+1).replaceAll("^\"|\"$", "");
myParams[key] = value;
println("Overwriting myParams.${key} with ${value}");
}