mirror of https://github.com/apache/cloudstack.git
fixed snapshot limitation issue
This commit is contained in:
parent
db7eacf4f9
commit
b9fdb44000
|
|
@ -524,7 +524,7 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma
|
|||
snapshot.setStatus(Snapshot.Status.BackedUp);
|
||||
_snapshotDao.update(snapshotId, snapshot);
|
||||
|
||||
if (snapshot.getType() == Type.RECURRING) {
|
||||
if (snapshot.isRecursive()) {
|
||||
_accountMgr.incrementResourceCount(snapshot.getAccountId(), ResourceType.snapshot);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue