Correct typo in exception (#10876)

Co-authored-by: Vitor Hugo Homem Marzarotto <vitor.marzarotto@scclouds.com.br>
This commit is contained in:
Vitor Hugo Homem Marzarotto 2025-05-16 04:23:04 -03:00 committed by GitHub
parent f199783c75
commit 1507a5633e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {