1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Fix sentry with sets (#2323)

This commit is contained in:
Pascal Vizeli
2020-12-02 12:43:38 +01:00
committed by GitHub
parent 0b085354db
commit 59102afd45
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ def filter_data(coresys: CoreSys, event: dict, hint: dict) -> dict:
"host": coresys.host.info.operating_system,
"kernel": coresys.host.info.kernel,
"machine": coresys.machine,
"images": coresys.resolution.evaluate.cached_images,
"images": list(coresys.resolution.evaluate.cached_images),
},
"versions": {
"audio": coresys.plugins.audio.version,

View File

@@ -178,4 +178,4 @@ def test_images_report(coresys):
event = filter_data(coresys, SAMPLE_EVENT, {})
assert "issues" in event["contexts"]["resolution"]
assert event["contexts"]["host"]["images"] == {"my/test:image"}
assert event["contexts"]["host"]["images"] == ["my/test:image"]