You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by su...@apache.org on 2025/05/16 07:23:10 UTC

(cloudstack) branch 4.19 updated: Correct typo in exception (#10876)

This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 1507a5633e7 Correct typo in exception (#10876)
1507a5633e7 is described below

commit 1507a5633e7fe6645b7e01cb0fe874f7501acbbe
Author: Vitor Hugo Homem Marzarotto <59...@users.noreply.github.com>
AuthorDate: Fri May 16 04:23:04 2025 -0300

    Correct typo in exception (#10876)
    
    Co-authored-by: Vitor Hugo Homem Marzarotto <vi...@scclouds.com.br>
---
 .../src/main/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 ab4a71903f6..eed220836a4 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 class SnapshotManagerImpl extends MutualExclusiveIdsManagerBase implement
         } 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 {