Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

changed variable name for better readability

Megumisodc6aee44b3d9
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index a5f4515231..656b1f040a 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -1625,10 +1625,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
],
];
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')) {