* Fix task#103387

This commit is contained in:
zenggang
2023-09-25 05:38:59 +00:00
parent 3e1361ecd1
commit d3215ef0a6
8 changed files with 30 additions and 17 deletions
+1 -1
View File
@@ -1334,7 +1334,7 @@ class cneModel extends model
public function tryAllocate(array $resources): object
{
$apiParams = new stdclass();
$apiParams->resources = $resources;
$apiParams->requests = $resources;
$apiUrl = "/api/cne/system/resource/try-allocate";
return $this->apiPost($apiUrl, $apiParams, $this->config->CNE->api->headers);