internal/worker: add rhsm to ostree resolve job
This commit is contained in:
parent
c865286fb9
commit
e94ea7c995
2 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ func (impl *OSTreeResolveJobImpl) Run(job worker.Job) error {
|
|||
URL: s.URL,
|
||||
Ref: s.Ref,
|
||||
Parent: s.Parent,
|
||||
RHSM: s.RHSM,
|
||||
}
|
||||
|
||||
ref, checksum, err := ostree.ResolveParams(reqParams)
|
||||
|
|
@ -67,6 +68,7 @@ func (impl *OSTreeResolveJobImpl) Run(job worker.Job) error {
|
|||
URL: s.URL,
|
||||
Ref: ref,
|
||||
Checksum: checksum,
|
||||
RHSM: s.RHSM,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -260,6 +260,7 @@ type OSTreeResolveSpec struct {
|
|||
URL string `json:"url"`
|
||||
Ref string `json:"ref"`
|
||||
Parent string `json:"parent"`
|
||||
RHSM bool `json:"rhsm"`
|
||||
}
|
||||
|
||||
type OSTreeResolveJob struct {
|
||||
|
|
@ -270,6 +271,7 @@ type OSTreeResolveResultSpec struct {
|
|||
URL string `json:"url"`
|
||||
Ref string `json:"ref"`
|
||||
Checksum string `json:"checksum"`
|
||||
RHSM bool `json:"bool"`
|
||||
}
|
||||
|
||||
type OSTreeResolveJobResult struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue