mirror of https://github.com/apache/cloudstack.git
commenting out this assert for now as it might break code
This commit is contained in:
parent
f92482fabf
commit
5eae8923b1
|
|
@ -138,7 +138,7 @@ public class Networks {
|
|||
|
||||
public <T> URI toUri(T value) {
|
||||
try {
|
||||
assert(this!=Vlan || value.getClass().isAssignableFrom(Integer.class)) : "Why are you putting non integer into vlan url";
|
||||
//assert(this!=Vlan || value.getClass().isAssignableFrom(Integer.class)) : "Why are you putting non integer into vlan url";
|
||||
return new URI(scheme + "://" + value.toString());
|
||||
} catch (URISyntaxException e) {
|
||||
throw new CloudRuntimeException("Unable to convert to isolation type URI: " + value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue