Skip to content

Commit e7afd1f

Browse files
committed
handle default case
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent 945fdd8 commit e7afd1f

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

33
## [Unreleased][]
44

5-
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-slack/compare/0.5.2...HEAD
5+
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-slack/compare/0.5.3...HEAD
66

7-
## [0.5.1][]
7+
## [0.5.3][]
8+
9+
[0.5.3]: https://github.com/chaostoolkit-incubator/chaostoolkit-slack/compare/0.5.2...0.5.3
10+
11+
- Handle default case
12+
13+
## [0.5.2][]
814

9-
[0.5.1]: https://github.com/chaostoolkit-incubator/chaostoolkit-slack/compare/0.5.1...0.5.2
15+
[0.5.2]: https://github.com/chaostoolkit-incubator/chaostoolkit-slack/compare/0.5.1...0.5.2
1016

1117
- Fix the fact secrets may not be set
1218

chaosslack/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = "0.5.2"
2+
__version__ = "0.5.3"

chaosslack/control.py

+2
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ def attachments(
349349
color = "#FF8E00"
350350
elif state == "Deviated":
351351
color = "#FF1700"
352+
else:
353+
color = "#000000"
352354

353355
payload = [
354356
{

0 commit comments

Comments
 (0)