Do not add duplicate supervisors in Daisy #26

Merged
tozh4728 merged 3 commits from handle-supervisor-change-failure into develop 2024-12-02 11:28:38 +01:00

3 Commits

Author SHA1 Message Date
a170e829c3 Merge branch 'develop' into handle-supervisor-change-failure
All checks were successful
Build and test / build-and-test (push) Successful in 10m0s
2024-12-02 11:17:04 +01:00
2858446668 Rename add to toAdd 2024-12-02 11:16:56 +01:00
09cf81d4f3 Do not add duplicate supervisors in Daisy
All checks were successful
Build and test / build-and-test (push) Successful in 11m29s
Daisy's API does not support the function "change supervisor" and only what comes down to SQL INSERT and DELETE on a specific table. If the removal of the previous supervisor(s) failed the new one was still added. This change makes it so that if the removal of any (there is no limit in the API) current supervisor fails it will not attempt to add the new supervisor.
2024-11-28 18:14:42 +01:00