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
@@ -293,7 +293,7 @@ public VMTemplateVO create(TemplateProfile profile) {
293
293
}
294
294
295
295
/**
296
-
* For each zone ID in {@link TemplateProfile#zoneIdList}, verifies if there is active heuristic rules for allocating template and returns the
296
+
* For each zone ID in {@link TemplateProfile#getZoneIdList()}, verifies if there is active heuristic rules for allocating template and returns the
297
297
* {@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
298
298
* or allocate it to all {@link DataStore} in the zone, if it is public.
299
299
* @param profile
@@ -453,10 +453,10 @@ public List<TemplateOrVolumePostUploadCommand> doInTransaction(TransactionStatus
453
453
454
454
/**
455
455
* 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