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:
Mauricio Siu
2026-03-23 01:05:53 -06:00
parent b9aa275759
commit a09d7d5663

View File

@@ -148,10 +148,6 @@ export const buildLibsql = async (libsql: LibsqlNested) => {
await service.update({
version: Number.parseInt(inspect.Version.Index),
...settings,
TaskTemplate: {
...settings.TaskTemplate,
ForceUpdate: inspect.Spec.TaskTemplate.ForceUpdate + 1,
},
});
} catch {
await docker.createService(settings);