File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
engine/schema/src/main/java/org/apache/cloudstack/backup/dao Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 2323import java .util .List ;
2424
2525import javax .annotation .PostConstruct ;
26- import javax .inject .Inject ;
2726
2827import com .cloud .utils .DateUtil ;
2928import com .cloud .utils .db .DB ;
3332import com .cloud .utils .db .GenericDaoBase ;
3433import com .cloud .utils .db .SearchBuilder ;
3534import com .cloud .utils .db .SearchCriteria ;
36- import com .cloud .vm .dao .VMInstanceDao ;
3735
3836public class BackupScheduleDaoImpl extends GenericDaoBase <BackupScheduleVO , Long > implements BackupScheduleDao {
39-
40- @ Inject
41- VMInstanceDao vmInstanceDao ;
42-
4337 private SearchBuilder <BackupScheduleVO > backupScheduleSearch ;
4438 private SearchBuilder <BackupScheduleVO > executableSchedulesSearch ;
4539
@@ -93,6 +87,7 @@ public boolean remove(Long id) {
9387 preparedStatement .executeUpdate ();
9488 return super .remove (id );
9589 } catch (SQLException e ) {
90+ logger .warn ("Unable to clean up backup schedules references from the backups table." , e );
9691 return false ;
9792 }
9893 }
You can’t perform that action at this time.
0 commit comments