Refactor shared.php to escape dollar signs in service labels
This commit is contained in:
parent
a5cf24773c
commit
f98405188d
@ -1174,6 +1174,9 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
|
||||
]
|
||||
]);
|
||||
}
|
||||
$serviceLabels = $serviceLabels->map(function ($value, $key) {
|
||||
return escapeDollarSign($value);
|
||||
});
|
||||
data_set($service, 'labels', $serviceLabels->toArray());
|
||||
data_forget($service, 'is_database');
|
||||
if (!data_get($service, 'restart')) {
|
||||
|
Loading…
Reference in New Issue
Block a user