Follow-up from "sort `siac alerts` output and improve formatting"
The following discussion from !3865 (merged) should be addressed:
-
@MSevey started a discussion: (+2 comments) @ChrisSchinnerl I wonder if it makes sense to update how the alerts are returned so that it is easier to pull out alerts by severity.
I would be nice if the alerts either came out sorted by severity and/or a developer could just request critical alerts and ignore errors for example.
This would then make this MR cleaner in that
siac
can request the alerts in order and then just display them.
-
update Alerts to be returned sorted by severity.