Commit 530e2e15 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Merge branch '17-check-service-status-update-based-on-resource-state' into 'develop'

Resolve "Check service status update based on resource state"

See merge request !21
parents 13c6b7d3 b18d37c4
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ public class Service extends BaseRootNamedEntity {
      } else if ( existsReserved || existsStandby) {
        nextState = ServiceStateType.RESERVED ; 
      } else if ( existsSuspended ) {
        nextState = ServiceStateType.TERMINATED ; 
          //do nothing
      } else if ( existUnknown ) {
//        if (this.getState().equals( ServiceStateType.ACTIVE  )) { //helpful state for argoCD lifecycle
//          nextState = ServiceStateType.TERMINATED ;