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
34fecbf5e2
commit
4392a47d1d
|
|
@ -154,7 +154,7 @@ public class VolumeVO implements Volume {
|
|||
private Long vmSnapshotChainSize;
|
||||
|
||||
@Column(name = "iso_id")
|
||||
private long isoId;
|
||||
private Long isoId;
|
||||
|
||||
@Transient
|
||||
// @Column(name="reservation")
|
||||
|
|
@ -570,7 +570,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