Skip to content

Commit

Permalink
rename STORAGES/SERIAL to STORAGES/SERIALNUMBER
Browse files Browse the repository at this point in the history
thanks  azman
  • Loading branch information
Gonéri Le Bouder committed Jul 31, 2010
1 parent 4469dad commit 5072e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -7,6 +7,8 @@ Revision history for FusionInventory::Agent
* agent.cfg, fix a syntax error
* turns most call to carp() and die() into logger usage
* Linux: storage, hdparm gives more reliable serial number
* XML, storage, rename STORAGES/SERIAL to STORAGES/SERIALNUMBER, thanks
azman

2.1_rc3 Sun, 25 Jul 2010 21:26:40 +0200
* MacOSX: fix if diskutils gives size in GB/MB instead of GiB/MiB
Expand Down
4 changes: 2 additions & 2 deletions lib/FusionInventory/Agent/XML/Query/Inventory.pm
Expand Up @@ -294,8 +294,8 @@ sub addStorage {
/;

my $values = $args;
if (!$values->{serialnumber}) {
$values->{serialnumber} = $values->{serial}
if (!$values->{SERIALNUMBER}) {
$values->{SERIALNUMBER} = $values->{SERIAL}
}

$self->_addEntry({
Expand Down

0 comments on commit 5072e28

Please sign in to comment.