diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2018-03-07 11:13:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 11:13:53 +0100 |
commit | 714c5340578273956221c48342f9c6802521876b (patch) | |
tree | 0ecb61e08ee06feced06d3f08fd33a9e4a9e0e25 | |
parent | dde5f15de9f58a95acaa99b78dbd3a6d30937600 (diff) | |
parent | 8a1fd510d2ffd860e964cd0c008330fcb236e0b3 (diff) |
Merge pull request #5230 from vespa-engine/jvenstad/allow-object-to-velocity
Allow Object, not just String, to Velocity
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/file/TemplateFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/file/TemplateFile.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/file/TemplateFile.java index e4dd5cf5d9c..e9d0770f933 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/file/TemplateFile.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/file/TemplateFile.java @@ -29,7 +29,7 @@ public class TemplateFile { velocityEngine.init(); } - public TemplateFile set(String name, String value) { + public TemplateFile set(String name, Object value) { velocityContext.put(name, value); return this; } |