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
|
|
@ -9,8 +9,5 @@ type AzureTargetOptions struct {
|
|||
func (AzureTargetOptions) isTargetOptions() {}
|
||||
|
||||
func NewAzureTarget(options *AzureTargetOptions) *Target {
|
||||
return &Target{
|
||||
Name: "org.osbuild.azure",
|
||||
Options: options,
|
||||
}
|
||||
return newTarget("org.osbuild.azure", options)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue