mirror of https://github.com/apache/cloudstack.git
bug 9322: snapshot count has exceeded the keep limit set
fix to change hourly snapshots to be treated as recurring snapshot
This commit is contained in:
parent
d95d831faa
commit
aae67e5d8d
|
|
@ -187,7 +187,7 @@ public class SnapshotVO implements Snapshot {
|
|||
|
||||
@Override
|
||||
public boolean isRecursive(){
|
||||
if ( snapshotType >= Type.DAILY.ordinal() && snapshotType <= Type.MONTHLY.ordinal() ) {
|
||||
if ( snapshotType >= Type.HOURLY.ordinal() && snapshotType <= Type.MONTHLY.ordinal() ) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue