diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-08-15 12:42:21 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2024-08-15 12:42:21 +0100 |
commit | b12d0c8f55abfa302a730403c8760a7ee646b168 (patch) | |
tree | 442bfb400e27a3d46271f0dc84ae1b76330a8316 /k6-tests | |
parent | f11aad9f7e2035ce174e486773a98fcc910e0930 (diff) |
Fix syntax error on k6 test
Issue-ID: CPS-2357
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ibbd32282608ff707c8030d43df3cf85043242218
Diffstat (limited to 'k6-tests')
-rw-r--r-- | k6-tests/ncmp/common/cmhandle-crud.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/k6-tests/ncmp/common/cmhandle-crud.js b/k6-tests/ncmp/common/cmhandle-crud.js index fa99270f39..88ecdb45b8 100644 --- a/k6-tests/ncmp/common/cmhandle-crud.js +++ b/k6-tests/ncmp/common/cmhandle-crud.js @@ -44,7 +44,7 @@ function createCmHandles(cmHandleIds) { const url = `${NCMP_BASE_URL}/ncmpInventory/v1/ch`; const payload = { "dmiPlugin": DMI_PLUGIN_URL, - "createdCmHandles": cmHandleIds.((cmHandleId, index) => ({ + "createdCmHandles": cmHandleIds.map((cmHandleId, index) => ({ "cmHandle": cmHandleId, "alternateId": `alt-${cmHandleId}`, "moduleSetTag": MODULE_SET_TAGS[index % MODULE_SET_TAGS.length], |