Remove deprecated RolloutStatus statuses (#2281)

Remove RolloutStatus.ERROR_CREATING (7) and RolloutStatus.ERROR_STARTING (8)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-02-13 15:17:18 +02:00
committed by GitHub
parent 059fd26fae
commit 08345920f3
2 changed files with 1 additions and 21 deletions

View File

@@ -182,25 +182,7 @@ public interface Rollout extends NamedEntity {
* soft-deletion of the rollout which keeps references, in case of an
* hard-deletion of a rollout the rollout-entry itself is deleted.
*/
DELETED,
/**
* Rollout could not be created due to errors, might be a database
* problem during asynchronous creating.
*
* @deprecated legacy status is not used anymore
*/
@Deprecated
ERROR_CREATING,
/**
* Rollout could not be started due to errors, might be database problem
* during asynchronous starting.
*
* @deprecated legacy status is not used anymore
*/
@Deprecated
ERROR_STARTING
DELETED
}
/**

View File

@@ -235,8 +235,6 @@ public class JpaRollout extends AbstractJpaNamedEntity implements Rollout, Event
put(RolloutStatus.STOPPED, 4);
put(RolloutStatus.RUNNING, 5);
put(RolloutStatus.FINISHED, 6);
put(RolloutStatus.ERROR_CREATING, 7);
put(RolloutStatus.ERROR_STARTING, 8);
put(RolloutStatus.DELETING, 9);
put(RolloutStatus.DELETED, 10);
put(RolloutStatus.WAITING_FOR_APPROVAL, 11);