From aae67e5d8d0ed41b2bc85efc7c4610094be83263 Mon Sep 17 00:00:00 2001 From: Murali Reddy Date: Mon, 2 May 2011 12:55:40 +0530 Subject: [PATCH] bug 9322: snapshot count has exceeded the keep limit set fix to change hourly snapshots to be treated as recurring snapshot --- core/src/com/cloud/storage/SnapshotVO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/cloud/storage/SnapshotVO.java b/core/src/com/cloud/storage/SnapshotVO.java index ab17a451708..5a1dc95890f 100644 --- a/core/src/com/cloud/storage/SnapshotVO.java +++ b/core/src/com/cloud/storage/SnapshotVO.java @@ -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;