mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Correct typo in exception (#10876)
Co-authored-by: Vitor Hugo Homem Marzarotto <vitor.marzarotto@scclouds.com.br>
This commit is contained in:
parent
f199783c75
commit
1507a5633e
@ -849,7 +849,7 @@ public class SnapshotManagerImpl extends MutualExclusiveIdsManagerBase implement
|
|||||||
} else if (intervalTypeStr != null && volumeId != null) {
|
} else if (intervalTypeStr != null && volumeId != null) {
|
||||||
Type type = SnapshotVO.getSnapshotType(intervalTypeStr);
|
Type type = SnapshotVO.getSnapshotType(intervalTypeStr);
|
||||||
if (type == null) {
|
if (type == null) {
|
||||||
throw new InvalidParameterValueException("Unsupported snapstho interval type " + intervalTypeStr);
|
throw new InvalidParameterValueException("Unsupported snapshot interval type " + intervalTypeStr);
|
||||||
}
|
}
|
||||||
sc.setParameters("snapshotTypeEQ", type.ordinal());
|
sc.setParameters("snapshotTypeEQ", type.ordinal());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user