Fix stop rollout when using PostgreSQL (#2996)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
951a89823f
commit
5498a79534
@@ -607,7 +607,7 @@ public class JpaRolloutManagement implements RolloutManagement {
|
|||||||
"SET t.assigned_distribution_set = ( " +
|
"SET t.assigned_distribution_set = ( " +
|
||||||
"SELECT a.distribution_set" +
|
"SELECT a.distribution_set" +
|
||||||
" FROM sp_action a" +
|
" 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" +
|
" ORDER BY a.id ASC" +
|
||||||
" LIMIT 1" +
|
" LIMIT 1" +
|
||||||
") " +
|
") " +
|
||||||
|
|||||||
Reference in New Issue
Block a user