Skip to content

Commit 61cf6c0

Browse files
fix: invalid parameter, param [type] is required
K8S-390
1 parent 15e7571 commit 61cf6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/upgrade.jps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ actions:
162162
envName: ${env.name}
163163
envAppid: ${env.appid}
164164
script: |
165-
function deepCopy(obj) { return toNative(new org.json.JSONObject(obj)); }
165+
function deepCopy(obj) { return toNative(new org.json.JSONObject(String(obj))); }
166166
function applyIf(obj, config) { for (var prop in config) { if (typeof obj[prop] == "undefined" || obj[prop] == null) { obj[prop] = config[prop]; } } return obj; }
167167
function schedule(jps, batch, settings) { batch.methods.push({ m : { script: "Install", params: { envName: envName, nodeGroup: nodeGroup, jps: jps, settings: settings || {}, skipEmail: true, tracked: false } } }); }
168168
function buildAddon(jps, parent, install) {

0 commit comments

Comments
 (0)