From dc6aee44b3d9f4fb245541a7859e998914e25df5 Mon Sep 17 00:00:00 2001 From: Megumiso Date: Sat, 13 Jul 2024 13:26:51 +0900 Subject: [PATCH] changed variable name for better readability --- app/Jobs/ApplicationDeploymentJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index a5f451523..656b1f040 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -1625,10 +1625,10 @@ private function generate_compose_file() ], ]; if (data_get($this->application, 'swarm_placement_constraints')) { - $yaml_parsed_data = Yaml::parse(base64_decode(data_get($this->application, 'swarm_placement_constraints'))); + $swarm_placement_constraints = Yaml::parse(base64_decode(data_get($this->application, 'swarm_placement_constraints'))); $docker_compose['services'][$this->container_name]['deploy'] = array_merge( $docker_compose['services'][$this->container_name]['deploy'], - $yaml_parsed_data + $swarm_placement_constraints ); } if (data_get($this->application, 'settings.is_swarm_only_worker_nodes')) {