compose/ImageBuild: drop the distro field
This likely needs to be reintroduced in some fashion, but it was unused, and when we reintroduced it it should be as a real Distro object. For now, drop it. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
f5cf649511
commit
cf2ad51243
1 changed files with 0 additions and 2 deletions
|
|
@ -22,7 +22,6 @@ func (ste *StateTransitionError) Error() string {
|
||||||
// ImageBuild represents a single image build inside a compose
|
// ImageBuild represents a single image build inside a compose
|
||||||
type ImageBuild struct {
|
type ImageBuild struct {
|
||||||
Id int `json:"id"`
|
Id int `json:"id"`
|
||||||
Distro common.Distribution `json:"distro"`
|
|
||||||
QueueStatus common.ImageBuildState `json:"queue_status"`
|
QueueStatus common.ImageBuildState `json:"queue_status"`
|
||||||
ImageType common.ImageType `json:"image_type"`
|
ImageType common.ImageType `json:"image_type"`
|
||||||
Manifest *osbuild.Manifest `json:"manifest"`
|
Manifest *osbuild.Manifest `json:"manifest"`
|
||||||
|
|
@ -48,7 +47,6 @@ func (ib *ImageBuild) DeepCopy() ImageBuild {
|
||||||
// Create new image build struct
|
// Create new image build struct
|
||||||
return ImageBuild{
|
return ImageBuild{
|
||||||
Id: ib.Id,
|
Id: ib.Id,
|
||||||
Distro: ib.Distro,
|
|
||||||
QueueStatus: ib.QueueStatus,
|
QueueStatus: ib.QueueStatus,
|
||||||
ImageType: ib.ImageType,
|
ImageType: ib.ImageType,
|
||||||
Manifest: newManifestPtr,
|
Manifest: newManifestPtr,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue