File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/com/cloud/vm/snapshot Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -756,14 +756,14 @@ public UserVm revertToSnapshot(Long vmSnapshotId) throws InsufficientCapacityExc
756756
757757 if (userVm .getState () == VirtualMachine .State .Running && vmSnapshotVo .getType () == VMSnapshot .Type .Disk ) {
758758 throw new InvalidParameterValueException (
759- "Reverting to the Instance Snapshot is not allowed for running Instances as this would result in a Instance state change." +
760- "For running Instances only Snapshots with memory can be reverted." +
759+ "Reverting to the Instance Snapshot is not allowed for running Instances as this would result in a Instance state change. " +
760+ "For running Instances only Snapshots with memory can be reverted. " +
761761 "In order to revert to a Snapshot without memory you need to first stop the Instance." );
762762 }
763763
764764 if ( userVm .getState () == VirtualMachine .State .Stopped && vmSnapshotVo .getType () == VMSnapshot .Type .DiskAndMemory ) {
765765 throw new InvalidParameterValueException (
766- "Reverting to the Instance Snapshot is not allowed for stopped Instances if the Snapshot contains memory." +
766+ "Reverting to the Instance Snapshot is not allowed for stopped Instances if the Snapshot contains memory. " +
767767 "In order to revert to a Snapshot with memory you need to first start the Instance." );
768768 }
769769
You can’t perform that action at this time.
0 commit comments