mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 9249: use interval type , not snapshot type
status 9249: resolved fixed
This commit is contained in:
parent
cf7fd7447a
commit
db351f8cba
@ -1011,7 +1011,7 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma
|
||||
policy = _snapshotPolicyDao.acquireInLockTable(policy.getId());
|
||||
policy.setSchedule(cmd.getSchedule());
|
||||
policy.setTimezone(timezoneId);
|
||||
policy.setInterval((short) type.ordinal());
|
||||
policy.setInterval((short)intvType.ordinal());
|
||||
policy.setMaxSnaps(cmd.getMaxSnaps());
|
||||
policy.setActive(true);
|
||||
_snapshotPolicyDao.update(policy.getId(), policy);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user