Skip to content

Commit ca0a3fe

Browse files
committed
Address comments
1 parent b2950d7 commit ca0a3fe

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/TemplateService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public TemplateInfo getTemplate() {
7373

7474
void associateTemplateToZone(long templateId, Long zoneId);
7575

76-
void associateCrosszoneTemplatesToZone(long dcId);
76+
void associateCrossZoneTemplatesToZone(long dcId);
7777

7878
AsyncCallFuture<TemplateApiResult> createDatadiskTemplateAsync(TemplateInfo parentTemplate, TemplateInfo dataDiskTemplate, String path, String diskId, long fileSize, boolean bootable);
7979

engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/TemplateServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ public void associateTemplateToZone(long templateId, Long zoneId) {
881881

882882
// update template_zone_ref for cross-zone template for newly added zone
883883
@Override
884-
public void associateCrosszoneTemplatesToZone(long dcId) {
884+
public void associateCrossZoneTemplatesToZone(long dcId) {
885885
VMTemplateZoneVO tmpltZone;
886886

887887
List<VMTemplateVO> crossZoneTemplates = _templateDao.listAllCrossZoneTemplates();

server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3163,7 +3163,7 @@ public DataCenterVO doInTransaction(final TransactionStatus status) {
31633163
// Associate cross zone templates with the Edge Zones here because they don't have SSVMs
31643164
// For Core zones, this happens when the SSVM starts up.
31653165
if (isEdge) {
3166-
_templateService.associateCrosszoneTemplatesToZone(zone.getId());
3166+
_templateService.associateCrossZoneTemplatesToZone(zone.getId());
31673167
}
31683168

31693169
return zone;

server/src/main/java/com/cloud/storage/download/DownloadListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public void processConnect(Host agent, StartupCommand cmd, boolean forRebalance)
305305
}
306306
_imageSrv.handleSysTemplateDownload(hostHyper, agent.getDataCenterId());
307307
// update template_zone_ref for cross-zone templates
308-
_imageSrv.associateCrosszoneTemplatesToZone(agent.getDataCenterId());
308+
_imageSrv.associateCrossZoneTemplatesToZone(agent.getDataCenterId());
309309

310310
}
311311
/* This can be removed

0 commit comments

Comments
 (0)