Skip to content

Commit a236221

Browse files
committed
Move to correct place
Signed-off-by: Yoshiki Fujikane <[email protected]>
1 parent 400e581 commit a236221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/model/application_live_state.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ func (s *ApplicationLiveStateSnapshot) DetermineApplicationHealthStatus() {
166166
}
167167
}
168168

169+
s.HealthStatus = ApplicationLiveStateSnapshot_HEALTHY
170+
169171
// prioritize unhealthy over unknown when these two statuses are both set.
170172
if unhealthy {
171173
s.HealthStatus = ApplicationLiveStateSnapshot_UNHEALTHY
@@ -176,6 +178,4 @@ func (s *ApplicationLiveStateSnapshot) DetermineApplicationHealthStatus() {
176178
s.HealthStatus = ApplicationLiveStateSnapshot_UNKNOWN
177179
return
178180
}
179-
180-
s.HealthStatus = ApplicationLiveStateSnapshot_HEALTHY
181181
}

0 commit comments

Comments
 (0)