Skip to content

Commit

Permalink
fix: nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Feb 5, 2024
1 parent 1ca4d77 commit d1d5b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squadron.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (sq *Squadron) Rollback(ctx context.Context, revision string, helmArgs []st
// https://stackoverflow.com/questions/59210148/error-found-in-chart-yaml-but-missing-in-charts-directory-mysql
func (sq *Squadron) UpdateLocalDependencies(ctx context.Context, parallel int) error {
// collect unique entrie
var repositories map[string]struct{}
repositories := map[string]struct{}{}
err := sq.Config().Squadrons.Iterate(func(key string, value config.Map[*config.Unit]) error {
return value.Iterate(func(k string, v *config.Unit) error {
if strings.HasPrefix(v.Chart.Repository, "file:///") {
Expand Down

0 comments on commit d1d5b20

Please sign in to comment.