File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
backend/src/main/java/com/park/utmstack/service/index_policy Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public void updatePolicy(PolicySettings settings) {
162162 .ifPresent (state -> {
163163 Transition transition = state .getTransitions ().get (0 );
164164 transition .setStateName (Constants .STATE_BACKUP );
165- transition .setConditions (null );
165+ transition .setConditions (new TransitionCondition ( "24h" ) );
166166 });
167167
168168 // open -> safe_delete
@@ -178,6 +178,7 @@ public void updatePolicy(PolicySettings settings) {
178178 .ifPresent (state -> {
179179 Transition transition = state .getTransitions ().get (0 );
180180 transition .setStateName (Constants .STATE_OPEN );
181+ transition .setConditions (new TransitionCondition ("24h" ));
181182 });
182183
183184 // open -> delete
You can’t perform that action at this time.
0 commit comments