mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Skip systemVM template registration for Simulator (#5954)
* Skip systemVM template registration for Simulator * simplify
This commit is contained in:
parent
6495bc1a47
commit
e609aa8e9c
@ -2808,6 +2808,9 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager, C
|
|||||||
Pair<String, Long> storeUrlAndId = new Pair<>(url, store.getId());
|
Pair<String, Long> storeUrlAndId = new Pair<>(url, store.getId());
|
||||||
for (HypervisorType hypervisorType : hypSet) {
|
for (HypervisorType hypervisorType : hypSet) {
|
||||||
try {
|
try {
|
||||||
|
if (HypervisorType.Simulator == hypervisorType) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String templateName = getValidTemplateName(zoneId, hypervisorType);
|
String templateName = getValidTemplateName(zoneId, hypervisorType);
|
||||||
Pair<Hypervisor.HypervisorType, String> hypervisorAndTemplateName =
|
Pair<Hypervisor.HypervisorType, String> hypervisorAndTemplateName =
|
||||||
new Pair<>(hypervisorType, templateName);
|
new Pair<>(hypervisorType, templateName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user