Skip to content

Commit

Permalink
Added shutdown color to the STATE_COLORS (#37295)
Browse files Browse the repository at this point in the history
* Added shutdown color to the STATE_COLORS

* Changed the shutdown color to blue.

Co-authored-by: Andrey Anshin <[email protected]>

* Updated test

---------

Co-authored-by: Andrey Anshin <[email protected]>
GitOrigin-RevId: 1623a6a5102af55cebe64af11cfbe1cd54630e39
  • Loading branch information
2 people authored and Cloud Composer Team committed Jul 19, 2024
1 parent 84f0c9e commit 7736e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions airflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"up_for_reschedule": "turquoise",
"up_for_retry": "gold",
"upstream_failed": "orange",
"shutdown": "blue",
}


Expand Down
2 changes: 1 addition & 1 deletion tests/www/views/test_views_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_home(capture_templates, admin_client):
'"deferred": "mediumpurple", "failed": "red", '
'"null": "lightblue", "queued": "gray", '
'"removed": "lightgrey", "restarting": "violet", "running": "lime", '
'"scheduled": "tan", '
'"scheduled": "tan", "shutdown": "blue", '
'"skipped": "hotpink", '
'"success": "green", "up_for_reschedule": "turquoise", '
'"up_for_retry": "gold", "upstream_failed": "orange"};'
Expand Down

0 comments on commit 7736e58

Please sign in to comment.