Skip to content

Commit

Permalink
fix: add icon_path to each modular alert conf
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys committed Aug 18, 2021
1 parent 5f4337b commit 9419c95
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def __init__(
"python.version": "python3",
"is_custom": 1,
"payload_format": "json",
"icon_path": "alerticon.png",
}
self._output = {}

Expand Down
1 change: 1 addition & 0 deletions tests/data/test_ucc_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_ucc_generate_with_inputs_configuration_alerts(self):
# Expected add-on package folder does not have "lib" in it.
files_to_be_equal = [
("README.txt",),
("default", "alert_actions.conf"),
("default", "eventtypes.conf"),
("default", "inputs.conf"),
("default", "restmap.conf"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ param._cam = {"task": ["Create", "Update"], "subject": ["endpoint"], "category":
python.version = python3
is_custom = 1
payload_format = json
icon_path = alerticon.png
param.name = xyz
param.all_incidents =
param.table_list = problem
Expand Down
1 change: 1 addition & 0 deletions tests/unit/testdata/alert_actions.conf.generated
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ param._cam = {"task": ["Create", "Update"], "subject": ["endpoint"], "category":
python.version = python3
is_custom = 1
payload_format = json
icon_path = alerticon.png
param.name = xyz
param.all_incidents =
param.table_list = problem
Expand Down

0 comments on commit 9419c95

Please sign in to comment.