changed variable name for better readability

This commit is contained in:
Megumiso 2024-07-13 13:26:51 +09:00
parent 4ffea311e8
commit dc6aee44b3

View File

@ -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')) {