Skip to content

Commit ed972a7

Browse files
Fix deploy as is VM start after template is force deleted
1 parent d356956 commit ed972a7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server/src/main/java/com/cloud/template/HypervisorTemplateAdapter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,6 @@ public boolean delete(TemplateProfile profile) {
665665
// Remove template details
666666
templateDetailsDao.removeDetails(template.getId());
667667

668-
// Remove deploy-as-is details (if any)
669-
templateDeployAsIsDetailsDao.removeDetails(template.getId());
670-
671668
// Remove comments (if any)
672669
AnnotationService.EntityType entityType = template.getFormat().equals(ImageFormat.ISO) ?
673670
AnnotationService.EntityType.ISO : AnnotationService.EntityType.TEMPLATE;

0 commit comments

Comments
 (0)