Skip to content

Commit

Permalink
Fix bug introduced in #14547 (#14588)
Browse files Browse the repository at this point in the history
  • Loading branch information
themylogin committed Sep 27, 2024
1 parent 6ae7f44 commit 15e3a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/smart.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ async def query_for_disk(self, disk_name):
"""
Query S.M.A.R.T. tests for the specified disk name.
"""
disk = await self.middleware.call_sync('disk.query', [['name', '=', disk_name]], {'get': True})
disk = await self.middleware.call('disk.query', [['name', '=', disk_name]], {'get': True})

return [
test
Expand Down

0 comments on commit 15e3a7d

Please sign in to comment.