Finalize PR, review changes, fix tests

This commit is contained in:
Matej Bačo
2025-03-08 16:50:39 +01:00
parent faa1b0a59b
commit 232f99c6c9
19 changed files with 396 additions and 171 deletions
+3 -3
View File
@@ -135,9 +135,9 @@ class Executor
* @param string $projectId
* @param string $deploymentId
*/
public function deleteRuntime(string $projectId, string $deploymentId)
public function deleteRuntime(string $projectId, string $deploymentId, string $suffix = '')
{
$runtimeId = "$projectId-$deploymentId";
$runtimeId = "$projectId-$deploymentId" . $suffix;
$route = "/runtimes/$runtimeId";
$response = $this->call(self::METHOD_DELETE, $route, [
@@ -249,7 +249,7 @@ class Executor
return $response['body'];
}
public function executeCommand(
public function createCommand(
string $deploymentId,
string $projectId,
string $command,