mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8414: fixed template_spool_ref is not getting updated with correct template local_path
this closes #195
This commit is contained in:
parent
fda627d672
commit
c275d6fff8
|
|
@ -1649,6 +1649,7 @@ namespace HypervResource
|
|||
|
||||
FileInfo destFileInfo = new FileInfo(destFile);
|
||||
destTemplateObjectTO.size = destFileInfo.Length.ToString();
|
||||
destTemplateObjectTO.path = destTemplateObjectTO.uuid;
|
||||
JObject ansObj = Utils.CreateCloudStackObject(CloudStackTypes.TemplateObjectTO, destTemplateObjectTO);
|
||||
newData = ansObj;
|
||||
result = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue