Fix stop rollout when using PostgreSQL (#2996)

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
Stanislav Trailov
2026-04-07 08:23:31 +03:00
committed by GitHub
parent 951a89823f
commit 5498a79534

View File

@@ -607,7 +607,7 @@ public class JpaRolloutManagement implements RolloutManagement {
"SET t.assigned_distribution_set = ( " +
"SELECT a.distribution_set" +
" FROM sp_action a" +
" WHERE a.target = t.id AND a.active = 1" +
" WHERE a.target = t.id AND a.active = TRUE" +
" ORDER BY a.id ASC" +
" LIMIT 1" +
") " +