Skip to content

Commit

Permalink
fix: suppress a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Dec 29, 2024
1 parent bf6d17c commit f774735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/update/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (c *Controller) updatePackages(ctx context.Context, logE *logrus.Entry, par
return nil
}

func (c *Controller) updatePackagesInFile(ctx context.Context, logE *logrus.Entry, param *config.Param, cfgFilePath string, cfg *aqua.Config, rgstCfgs map[string]*registry.Config, updatedPkgs map[string]struct{}, newVersions map[string]string) error {
func (c *Controller) updatePackagesInFile(ctx context.Context, logE *logrus.Entry, param *config.Param, cfgFilePath string, cfg *aqua.Config, rgstCfgs map[string]*registry.Config, updatedPkgs map[string]struct{}, newVersions map[string]string) error { //nolint:cyclop
pkgs, failed := config.ListPackages(logE, cfg, c.runtime, rgstCfgs)
if len(pkgs) == 0 {
if failed {
Expand Down

0 comments on commit f774735

Please sign in to comment.