From 5d48d2ace014ee2206dcf2bb245d6e2a6b3230c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 10 Nov 2022 14:00:44 +0000 Subject: [PATCH] PR review changes --- app/views/install/compose.phtml | 1 + src/Executor/Executor.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 915a09158a..b5bae37733 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -395,6 +395,7 @@ services: depends_on: - redis - mariadb + - openrutntimes-executor environment: - _APP_ENV - _APP_OPENSSL_KEY_V1 diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index ca0d3b5208..5ca738c302 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -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,