Skip to content

Commit

Permalink
use yamls and not the resources which are parsed
Browse files Browse the repository at this point in the history
Co-authored-by: Wayne Starr <Racer159@users.noreply.github.com>
  • Loading branch information
waveywaves and Racer159 committed Mar 1, 2024
1 parent 7d9f72c commit bd18217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/packager/prepare.go
Expand Up @@ -208,7 +208,7 @@ func (p *Packager) FindImages() (imgMap map[string][]string, err error) {

// Check if the --why flag is set and if it is process the manifests
if whyImage != "" {
whyResourcesManifest, err := findWhyResources(resources, whyImage, component.Name, manifest.Name, false)
whyResourcesManifest, err := findWhyResources(yamls, whyImage, component.Name, manifest.Name, false)
if err != nil {
message.WarnErrf(err, "Error finding why resources for manifest %s: %s", manifest.Name, err.Error())
}
Expand Down

0 comments on commit bd18217

Please sign in to comment.