target: add new fields to target and cleanup
We need some more fields in target struct to support weldr API. This commit introduces them. Also a bit of cleanup is done.
This commit is contained in:
parent
364ea62f59
commit
df7e14d5eb
4 changed files with 44 additions and 24 deletions
|
|
@ -11,8 +11,5 @@ type AWSTargetOptions struct {
|
|||
func (AWSTargetOptions) isTargetOptions() {}
|
||||
|
||||
func NewAWSTarget(options *AWSTargetOptions) *Target {
|
||||
return &Target{
|
||||
Name: "org.osbuild.aws",
|
||||
Options: options,
|
||||
}
|
||||
return newTarget("org.osbuild.aws", options)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue