mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Don't do strict checking for adding simulator host
This commit is contained in:
parent
a0efa70958
commit
827ce90c7a
@ -94,7 +94,7 @@ public class SimulatorDiscoverer extends DiscovererBase implements Discoverer, L
|
||||
long memory = _mockAgentMgr.DEFAULT_HOST_MEM_SIZE;
|
||||
long localstorageSize = _mockStorageMgr.DEFAULT_HOST_STORAGE_SIZE;
|
||||
if (scheme.equals("http")) {
|
||||
if (host == null || !host.equalsIgnoreCase("sim")) {
|
||||
if (host == null || !host.startsWith("sim")) {
|
||||
String msg = "uri is not of simulator type so we're not taking care of the discovery for this: "
|
||||
+ uri;
|
||||
if(s_logger.isDebugEnabled()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user