You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iflen(conditionParts) !=2 { // TODO#227 Not sure if this makes sense. Checking that it is 2 or more should be enough. Then there is no character restriction in the remaining condition.
45
+
result.AddError(fmt.Sprintf("invalid linked state syntax: %s", condition))
ifresult.Success {// TODO#227 Make dynymic and also check conditions e.g. method somewhere at the end that evaluates the state (conditions and condition results + is maintenance needs to be available)
341
+
ifresult.Success {
342
342
result.State=state.DefaultHealthyStateName
343
-
} else {
344
-
result.State=state.DefaultUnhealthyStateName
343
+
} else { // Go over condition results to see if any of them has a specific state to set
0 commit comments