mirror of https://github.com/apache/cloudstack.git
server: allow copy cross-zone templates to other zone (#4804)
This commit is contained in:
parent
69825f6cb6
commit
02abb87f12
|
|
@ -920,8 +920,6 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager,
|
|||
if (template.isCrossZones()) {
|
||||
// sync template from cache store to region store if it is not there, for cases where we are going to migrate existing NFS to S3.
|
||||
_tmpltSvr.syncTemplateToRegionStore(templateId, srcSecStore);
|
||||
s_logger.debug("Template " + templateId + " is cross-zone, don't need to copy");
|
||||
return template;
|
||||
}
|
||||
for (Long destZoneId : destZoneIds) {
|
||||
DataStore dstSecStore = getImageStore(destZoneId, templateId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue