diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2012-09-15 10:48:53 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-09-15 18:05:03 -0500 |
commit | f9e0d7e083a4345e6a82358a099344e9026eaafa (patch) | |
tree | 5a8965b3ff7bc981669bb6ac257b29b573c8fc71 /src/usr/targeting/common/xmltohb/xmltohb.pl | |
parent | 94b6df13994278594e664116e09ea5e76c2e448d (diff) | |
download | talos-hostboot-f9e0d7e083a4345e6a82358a099344e9026eaafa.tar.gz talos-hostboot-f9e0d7e083a4345e6a82358a099344e9026eaafa.zip |
Fix isFspTargetInstance result when building cache
- Updated isFspTargetInstance to update return value when building cache
Change-Id: Iaa18e05ebcda8920a368691752a493c3b52a7708
CQ: SW164822
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1772
Tested-by: Jenkins Server
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/xmltohb.pl')
-rwxr-xr-x | src/usr/targeting/common/xmltohb/xmltohb.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl index 1128e4f65..e286eb60a 100755 --- a/src/usr/targeting/common/xmltohb/xmltohb.pl +++ b/src/usr/targeting/common/xmltohb/xmltohb.pl @@ -2826,6 +2826,7 @@ sub isFspTargetInstance { %g_fspTargetTypesCache = map { $_->{id} => exists $_->{fspOnly} ? 1:0 } @{$attributes->{targetType}}; + $fspTargetInstance = %g_fspTargetTypesCache->{$targetInstance->{type}}; } return $fspTargetInstance; |