Updated Branches: refs/heads/4.1 d76211d5d -> 304858aa1
CLOUDSTACK-1350 Management server Stop and start causes previously downloaded ISOs to redownload Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/304858aa Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/304858aa Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/304858aa Branch: refs/heads/4.1 Commit: 304858aa18f9aea32e9722ed6278fa7d7a8746f2 Parents: d76211d Author: Mice Xia <[email protected]> Authored: Wed Feb 27 14:35:45 2013 +0800 Committer: Mice Xia <[email protected]> Committed: Wed Feb 27 17:23:44 2013 +0800 ---------------------------------------------------------------------- .../cloud/storage/template/RawImageProcessor.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/304858aa/core/src/com/cloud/storage/template/RawImageProcessor.java ---------------------------------------------------------------------- diff --git a/core/src/com/cloud/storage/template/RawImageProcessor.java b/core/src/com/cloud/storage/template/RawImageProcessor.java index 7833eab..a002df5 100644 --- a/core/src/com/cloud/storage/template/RawImageProcessor.java +++ b/core/src/com/cloud/storage/template/RawImageProcessor.java @@ -57,6 +57,7 @@ public class RawImageProcessor extends AdapterBase implements Processor { String imgPath = templatePath + File.separator + templateName + "." + ImageFormat.RAW.getFileExtension(); if (!_storage.exists(imgPath)) { s_logger.debug("Unable to find raw image:" + imgPath); + return null; } FormatInfo info = new FormatInfo(); info.format = ImageFormat.RAW;
