Skip to content

Commit

Permalink
Add vSphere Host and vSphere VM to the list of invalid platforms when…
Browse files Browse the repository at this point in the history
… testing with a local platform
  • Loading branch information
pnguyen committed Jun 22, 2010
1 parent 1987a19 commit 29d9848
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/hyperic/hq/hqapi1/test/HQApiTestBase.java
Expand Up @@ -201,6 +201,8 @@ protected Resource getLocalPlatformResource(boolean verbose,
List<String> invalidPlatforms = new ArrayList<String>();
invalidPlatforms.add("Network Device");
invalidPlatforms.add("Network Host");
invalidPlatforms.add("VMware vSphere Host");
invalidPlatforms.add("VMware vSphere VM");

for (Resource r : resourceResponse.getResource()) {
if (!invalidPlatforms.contains(r.getResourcePrototype().getName())) {
Expand Down

0 comments on commit 29d9848

Please sign in to comment.