You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/src/main/java/com/cloud/template/HypervisorTemplateAdapter.java
+20-15Lines changed: 20 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -295,7 +295,7 @@ public VMTemplateVO create(TemplateProfile profile) {
295
295
}
296
296
297
297
/**
298
-
* For each zone ID in {@link TemplateProfile#zoneIdList}, verifies if there is active heuristic rules for allocating template and returns the
298
+
* For each zone ID in {@link TemplateProfile#getZoneIdList()}, verifies if there is active heuristic rules for allocating template and returns the
299
299
* {@link DataStore} returned by the heuristic rule. If there is not an active heuristic rule, then allocate it to a random {@link DataStore}, if the ISO/template is private
300
300
* or allocate it to all {@link DataStore} in the zone, if it is public.
301
301
* @param profile
@@ -456,10 +456,10 @@ public List<TemplateOrVolumePostUploadCommand> doInTransaction(TransactionStatus
456
456
457
457
/**
458
458
* If the template/ISO is marked as private, then it is allocated to a random secondary storage; otherwise, allocates to every storage pool in every zone given by the
0 commit comments