mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 11:36:32 +00:00
Fix sentry with sets (#2323)
This commit is contained in:
parent
0b085354db
commit
59102afd45
@ -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,
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user