Skip to content

Commit

Permalink
Update smartctl.py
Browse files Browse the repository at this point in the history
Signed-off-by: 1234Erwan <[email protected]>
  • Loading branch information
1234Erwan authored Aug 23, 2024
1 parent 1af86a5 commit 2bd2eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SOURCES/etc/xapi.d/plugins/smartctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def _list_raids():
raids = []
result = run_command(['smartctl', '--scan'])
for line in result['stdout'].splitlines():
disks.append(line.split()[2])
raids.append(line.split()[2])
return raids

@error_wrapped
Expand Down

0 comments on commit 2bd2eb8

Please sign in to comment.