target: use constants for target names, instead of string literals

This commit is contained in:
Tomas Hozza 2022-06-01 15:20:30 +02:00 committed by Tom Gundersen
parent f6fa5ccca1
commit c63bfe6d83
16 changed files with 95 additions and 72 deletions

View file

@ -703,7 +703,7 @@ func TestCompose(t *testing.T) {
Manifest: manifest,
Targets: []*target.Target{
{
Name: "org.osbuild.aws",
Name: target.TargetNameAWS,
Status: common.IBWaiting,
ImageName: "test_upload",
Options: &target.AWSTargetOptions{