mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4707: "sourcetemplateid" field is not getting set for derived templates Template created from a volume or snapshot did not have the sourcetemplateid field set in vm_template table.
This commit is contained in:
parent
2799ee3d4f
commit
bb7493775c
|
|
@ -155,7 +155,7 @@ public class VolumeVO implements Volume {
|
|||
private Long vmSnapshotChainSize;
|
||||
|
||||
@Column(name = "iso_id")
|
||||
private long isoId;
|
||||
private Long isoId;
|
||||
|
||||
@Transient
|
||||
// @Column(name="reservation")
|
||||
|
|
@ -571,7 +571,7 @@ public class VolumeVO implements Volume {
|
|||
return this.isoId;
|
||||
}
|
||||
|
||||
public void setIsoId(long isoId) {
|
||||
public void setIsoId(Long isoId) {
|
||||
this.isoId =isoId;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue