ostree: rename RequestParams to SourceSpec

Same as with the container SourceSpec, the struct specifies the required
information to resolve an ostree commit from a source (URL, ref, and
optional parent).
Renaming for consistency.
This commit is contained in:
Achilleas Koutsou 2023-05-05 13:51:07 +02:00 committed by Simon de Vlieger
parent 00d473c802
commit fc5461e9e3
5 changed files with 19 additions and 19 deletions

View file

@ -51,7 +51,7 @@ func (impl *OSTreeResolveJobImpl) Run(job worker.Job) error {
logWithId.Infof("Resolving (%d) ostree commits", len(args.Specs))
for i, s := range args.Specs {
reqParams := ostree.RequestParams{
reqParams := ostree.SourceSpec{
URL: s.URL,
Ref: s.Ref,
Parent: s.Parent,