Skip to content

Commit

Permalink
fix typo in device.get_info
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Feb 11, 2025
1 parent 03d3183 commit 64ea2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ async def get_info(self, data):
if method == 'device.get_disks':
return await self.middleware.call(method, data['get_partitions'], data['serials_only'])
elif method == 'device.get_serials':
return await self.middleware.run_in_thread(serial_port_choices())
return await self.middleware.run_in_thread(serial_port_choices)
return await self.middleware.call(method)

0 comments on commit 64ea2b9

Please sign in to comment.