Repository: cloudstack Updated Branches: refs/heads/master c200ada86 -> ba41f230e
CLOUDSTACK-7467 (this part of the ticket is related to augmenting an error message) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ba41f230 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ba41f230 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ba41f230 Branch: refs/heads/master Commit: ba41f230e19e66d108631d92e7c5f1d89083f81f Parents: c200ada Author: Mike Tutkowski <[email protected]> Authored: Tue Sep 2 12:50:22 2014 -0600 Committer: Mike Tutkowski <[email protected]> Committed: Tue Sep 2 12:51:01 2014 -0600 ---------------------------------------------------------------------- server/src/com/cloud/storage/VolumeApiServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ba41f230/server/src/com/cloud/storage/VolumeApiServiceImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java index c662165..16d46e6 100644 --- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java +++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java @@ -738,7 +738,7 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic if (newSize != null) { if (!diskOffering.isCustomized() && !volume.getVolumeType().equals(Volume.Type.ROOT)) { throw new InvalidParameterValueException("To change a volume's size without providing a new disk offering, its current disk offering must be " + - "customizable or it must be a root volume."); + "customizable or it must be a root volume (if providing a disk offering, make sure it is different from the current disk offering)."); } // convert from bytes to GiB
