pipeline/assembler: complete the qcow2/qemu rename
This was an oversight. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
6a40d77ed3
commit
35055b3176
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ func (assembler *Assembler) UnmarshalJSON(data []byte) error {
|
|||
switch rawAssembler.Name {
|
||||
case "org.osbuild.tar":
|
||||
options = new(TarAssemblerOptions)
|
||||
case "org.osbuild.qcow2":
|
||||
case "org.osbuild.qemu":
|
||||
options = new(QEMUAssemblerOptions)
|
||||
default:
|
||||
return errors.New("unexpected assembler name")
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ func NewQEMUAssemblerOptions(format string, ptUUID string, filename string, root
|
|||
// NewQEMUAssembler creates a new QEMU Assembler object.
|
||||
func NewQEMUAssembler(options *QEMUAssemblerOptions) *Assembler {
|
||||
return &Assembler{
|
||||
Name: "org.osbuild.qcow2",
|
||||
Name: "org.osbuild.qemu",
|
||||
Options: options,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue