mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Solved bug when Network Topology is empty (#413)
This commit is contained in:
parent
1f6286b28f
commit
4998103180
@ -588,7 +588,9 @@ define(function(require) {
|
||||
_network.cluster(clusterOptionsByData);
|
||||
});
|
||||
|
||||
_network.stabilize();
|
||||
if(_network){
|
||||
_network.stabilize();
|
||||
}
|
||||
}
|
||||
|
||||
function _openVMs(){
|
||||
@ -604,10 +606,15 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
_network.stabilize();
|
||||
if(_network){
|
||||
_network.stabilize();
|
||||
}
|
||||
}
|
||||
|
||||
function _fit(){
|
||||
_network.fit();
|
||||
|
||||
if(_network){
|
||||
_network.fit();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user