Skip to content

Commit

Permalink
Remove deprecated RolloutStatus statuses (eclipse-hawkbit#2281)
Browse files Browse the repository at this point in the history
Remove RolloutStatus.ERROR_CREATING (7) and RolloutStatus.ERROR_STARTING (8)

Signed-off-by: Avgustin Marinov <[email protected]>
  • Loading branch information
avgustinmm authored Feb 13, 2025
1 parent 059fd26 commit 0834592
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,25 +182,7 @@ enum RolloutStatus {
* 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
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ public RolloutStatusConverter() {
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);
Expand Down

0 comments on commit 0834592

Please sign in to comment.