1
0
Fork 0
mirror of synced 2024-09-29 17:01:37 +13:00

PR review changes

This commit is contained in:
Matej Bačo 2022-11-10 14:00:44 +00:00
parent 192cf2e20d
commit 5d48d2ace0
2 changed files with 3 additions and 2 deletions

View file

@ -395,6 +395,7 @@ services:
depends_on:
- redis
- mariadb
- openrutntimes-executor
environment:
- _APP_ENV
- _APP_OPENSSL_KEY_V1

View file

@ -73,7 +73,7 @@ class Executor
) {
$runtimeId = "$projectId-$deploymentId";
$route = "/runtimes";
$headers = array_merge($this->headers, [ 'x-opr-runtime-id' => $runtimeId ]);
$headers = [ 'x-opr-runtime-id' => $runtimeId ];
$params = [
'runtimeId' => $runtimeId,
'source' => $source,
@ -126,7 +126,7 @@ class Executor
) {
$runtimeId = "$projectId-$deploymentId";
$route = '/runtimes/' . $runtimeId . '/execution';
$headers = array_merge($this->headers, [ 'x-opr-runtime-id' => $runtimeId ]);
$headers = [ 'x-opr-runtime-id' => $runtimeId ];
$params = [
'runtimeId' => $runtimeId,
'variables' => $variables,