From ddb0f89996870b205863e9aa96e6d50681722f5e Mon Sep 17 00:00:00 2001 From: Vitor Hugo Homem Marzarotto Date: Thu, 15 May 2025 17:39:57 -0300 Subject: [PATCH] Correct typo in exception --- .../java/com/cloud/storage/snapshot/SnapshotManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java b/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java index ab4a71903f6c..eed220836a4f 100755 --- a/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java +++ b/server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java @@ -849,7 +849,7 @@ public Pair, Integer> listSnapshots(ListSnapshotsCmd cm } else if (intervalTypeStr != null && volumeId != null) { Type type = SnapshotVO.getSnapshotType(intervalTypeStr); if (type == null) { - throw new InvalidParameterValueException("Unsupported snapstho interval type " + intervalTypeStr); + throw new InvalidParameterValueException("Unsupported snapshot interval type " + intervalTypeStr); } sc.setParameters("snapshotTypeEQ", type.ordinal()); } else {