Skip to content

Commit

Permalink
fix: Also support WD as model prefix to detect Western Digital disk m…
Browse files Browse the repository at this point in the history
…anufacturer
  • Loading branch information
g-bougard committed Sep 28, 2023
1 parent c59037a commit 11c0469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GLPI/Agent/Tools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ sub getCanonicalManufacturer {
"Hitachi" => qr/^(HD|IC|HU|HGST)/,
"Seagate" => qr/^(ST|(?i)seagate)/,
"Sony" => qr/^OPTIARC/i,
"Western Digital" => qr/^(WDC|(?i)western)/,
"Western Digital" => qr/^(WDC?|(?i)western)/,
);

if (exists $manufacturers{$manufacturer}) {
Expand Down

0 comments on commit 11c0469

Please sign in to comment.