Skip to content

Commit

Permalink
Fixing db not looking at repos
Browse files Browse the repository at this point in the history
When f19146a landed the repo
location was switched for the registry location. The registry is
used with OCI. This was likely an accidental autocomplete name
change. It caused the solver to be unaware of the repos and charts
within them. Changing to the right location fixes the issue.

Closes #181

Signed-off-by: Matt Farina <matt.farina@suse.com>
  • Loading branch information
mattfarina committed Jul 29, 2021
1 parent b7d4b5e commit babea4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/action/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ func (i *Install) Run(strategy solver.SolverStrategy,
pkg.Unknown, pkg.Present, pinnedVer, i.ChartPathOptions.RepoURL, wantedChrtAbsPath)

// get all repo entries, continue if there's none:
rf, err := repo.LoadFile(settings.EnvSettings.RegistryConfig)
rf, err := repo.LoadFile(settings.EnvSettings.RepositoryConfig)

if err != nil {
if !os.IsNotExist(errors.Cause(err)) {
return nil, err
Expand Down

0 comments on commit babea4a

Please sign in to comment.