mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-29 14:48:47 +00:00
refactor(libsql): remove ForceUpdate from TaskTemplate in service update
- Eliminated the ForceUpdate property from the TaskTemplate during service updates to streamline the update process. - Adjusted the service update logic to focus on essential settings without the unnecessary increment of ForceUpdate.
This commit is contained in:
@@ -148,10 +148,6 @@ export const buildLibsql = async (libsql: LibsqlNested) => {
|
|||||||
await service.update({
|
await service.update({
|
||||||
version: Number.parseInt(inspect.Version.Index),
|
version: Number.parseInt(inspect.Version.Index),
|
||||||
...settings,
|
...settings,
|
||||||
TaskTemplate: {
|
|
||||||
...settings.TaskTemplate,
|
|
||||||
ForceUpdate: inspect.Spec.TaskTemplate.ForceUpdate + 1,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
} catch {
|
} catch {
|
||||||
await docker.createService(settings);
|
await docker.createService(settings);
|
||||||
|
|||||||
Reference in New Issue
Block a user