Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix accessing "name" field in busctl json output
Co-Authored-By: Nick Labich <nick@labich.org>
  • Loading branch information
daandemeyer and labichn committed Jan 24, 2025
commit 7feb4b5f91684c0f5be910a91e8a3e71dc72a7e2
2 changes: 1 addition & 1 deletion mkosi/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def machine1_is_available(config: Config) -> bool:
).stdout.strip()
)

return any(service.name == "org.freedesktop.machine1" for service in services)
return any(service["name"] == "org.freedesktop.machine1" for service in services)


def finalize_register(config: Config) -> bool:
Expand Down
Loading