Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Fix for BZ-1203469 was incomplete.
Browse files Browse the repository at this point in the history
Initial fix failed to assing the newly detected product type to the
productType variable. This resulted in all discovered AS7 instances
being detected as generic AS7.

(cherry picked from commit 8308e02)
  • Loading branch information
loleary committed May 22, 2015
1 parent 0a9a4ee commit 181b92a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -192,7 +192,7 @@ protected DiscoveredResourceDetails buildResourceDetails(ResourceDiscoveryContex
pluginConfig.setSimpleValue("realm", hostConfig.getManagementSecurityRealm());
JBossProductType productType = JBossProductType.AS;
try {
JBossProductType.determineJBossProductType(homeDir);
productType = JBossProductType.determineJBossProductType(homeDir);
} catch (Exception e) {
log.warn("Managed product type for [" + homeDir + "] could not be determined or is unsupported: " + e.getMessage(), e); //$NON-NLS-1$ //$NON-NLS-2$
}
Expand Down

0 comments on commit 181b92a

Please sign in to comment.