2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-02 15:36:05 +00:00

Name ipmi user link relations with a string

The uids are dict keys and went out as JSON numbers.
This commit is contained in:
Markus Hilger
2026-08-14 17:42:47 +02:00
parent 6576c25f77
commit 43531c3a10
@@ -826,7 +826,9 @@ class IpmiHandler:
# A list of users
await self.output.put(msg.ChildCollection('all'))
for user in await self.ipmicmd.get_users():
await self.output.put(msg.ChildCollection(user, candelete=True))
# The uids are numbers, and a link relation needs a string
await self.output.put(
msg.ChildCollection(str(user), candelete=True))
return
# List all users
elif len(self.element) == 4 and self.element[-1] == 'all':