diff options
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], |