agent: stop remapping restarting

This commit is contained in:
Aiden McClelland
2020-12-04 18:56:12 -07:00
committed by Keagan McClelland
parent 1da2da7e43
commit 414d8ae54a

View File

@@ -710,7 +710,6 @@ remapAppMgrInfo jobCache serverApps = flip
$ ((, infoResVersion) <$> HM.lookup appId tmpStatuses)
<|> (guard (not infoResIsConfigured || infoResIsRecoverable) $> (NeedsConfig, infoResVersion))
<|> (guard realViolations $> (BrokenDependencies, infoResVersion))
<|> (guard (infoResStatus == Restarting) $> (Crashed, infoResVersion))
in ( status
, version
, infoRes