Changeset 1455 for DCWoRMS/branches


Ignore:
Timestamp:
12/18/14 15:14:09 (10 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/scheduling/manager/resources/ResourceManagerFactory.java

    r1247 r1455  
    1111                ManagedComputingResources managedResource = scheduler.getCompResources(); 
    1212                 
    13                 if(managedResources == null || managedResource.getType().getName().equals(StandardResourceType.DataCenter)) 
     13                if(managedResources == null || scheduler.getType() == StandardResourceType.GS) 
    1414                        return new GridResourceDiscovery(scheduler); 
    1515                else if (managedResource.getType().getName().equals(StandardResourceType.Rack)) 
Note: See TracChangeset for help on using the changeset viewer.