Skip to content

Commit

Permalink
Replaces "olm.bundle.path" with a constant
Browse files Browse the repository at this point in the history
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Jun 13, 2023
1 parent 098778e commit e7c62df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resolution/entitysources/catalogdsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func getEntities(ctx context.Context, client client.Client) (input.EntityList, e
if err != nil {
return nil, err
}
props["olm.bundle.path"] = string(imgValue)
props[entity.PropertyBundlePath] = string(imgValue)
catalogScopedPkgName := fmt.Sprintf("%s-%s", bundle.Spec.Catalog.Name, bundle.Spec.Package)
bundlePkg := packageMetdatas[catalogScopedPkgName]
for _, ch := range bundlePkg.Spec.Channels {
Expand Down

0 comments on commit e7c62df

Please sign in to comment.