mirror of https://github.com/apache/cloudstack.git
don't reschedule manual snapshot
This commit is contained in:
parent
3aad88e94b
commit
0febfb4938
|
|
@ -340,7 +340,9 @@ public class SnapshotSchedulerImpl implements SnapshotScheduler {
|
|||
// reschedule all policies after management restart
|
||||
List<SnapshotPolicyVO> policyInstances = _snapshotPolicyDao.listAll();
|
||||
for( SnapshotPolicyVO policyInstance : policyInstances) {
|
||||
scheduleNextSnapshotJob(policyInstance);
|
||||
if( policyInstance.getId() != Snapshot.MANUAL_POLICY_ID ) {
|
||||
scheduleNextSnapshotJob(policyInstance);
|
||||
}
|
||||
}
|
||||
if (_testTimerTask != null) {
|
||||
_testClockTimer = new Timer("TestClock");
|
||||
|
|
|
|||
Loading…
Reference in New Issue