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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user