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/de7f0ff6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/de7f0ff6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/de7f0ff6 Branch: refs/heads/affinity_groups Commit: de7f0ff66c8baeaf8c52d4a15d6b089905a418b8 Parents: 967a08f Author: Mice Xia <[email protected]> Authored: Wed Feb 27 14:35:45 2013 +0800 Committer: Prachi Damle <[email protected]> Committed: Thu Mar 14 15:12:34 2013 -0700 ---------------------------------------------------------------------- .../cloud/storage/template/RawImageProcessor.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/de7f0ff6/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;
