We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987fe9c commit a905f59Copy full SHA for a905f59
1 file changed
src/stratis_cli/_actions/_list_pool.py
@@ -325,11 +325,11 @@ def _print_detail_view(
325
print(f"UUID: {self.uuid_formatter(mopool.Uuid())}")
326
print(f"Name: {mopool.Name()}")
327
328
- alert_summary = [
+ alert_summary = sorted(
329
f"{code}: {code.summarize()}"
330
for code in alerts.alert_codes(pool_object_path)
331
+ Default.alert_codes(mopool)
332
- ]
+ )
333
print(f"Alerts: {len(alert_summary)}")
334
for line in alert_summary: # pragma: no cover
335
print(f" {line}")
0 commit comments