osbuild: remove tar image size

Image size should not be specified for a tar image. When the tar
assembler was being created image size was not passed to it. However,
the TarAssemblerOptions contained a Size field which would default to 0.
This field is removed so that the tar assembler options no longer
specify a size. The assembler tests are also updated to reflect this
change.
This commit is contained in:
Jacob Kozol 2020-04-28 16:05:24 +02:00 committed by Ondřej Budai
parent b916a88242
commit 51c610e1ae
2 changed files with 3 additions and 5 deletions

View file

@ -6,7 +6,6 @@ package osbuild
// compression type, and stores the output with the given filename.
type TarAssemblerOptions struct {
Filename string `json:"filename"`
Size uint64 `json:"size"`
Compression string `json:"compression,omitempty"`
}