Skip to content

Commit

Permalink
Update db.go (#1199)
Browse files Browse the repository at this point in the history
fix args name error
  • Loading branch information
bestgopher authored Sep 19, 2021
1 parent cc6c67d commit 2e170cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var SuperSet = wire.NewSet(

// Operation defines the DB operations
type Operation interface {
NeedsUpdate(cliVersion string, skip, light bool) (need bool, err error)
NeedsUpdate(cliVersion string, light, skip bool) (need bool, err error)
Download(ctx context.Context, cacheDir string, light bool) (err error)
UpdateMetadata(cacheDir string) (err error)
}
Expand Down

0 comments on commit 2e170cd

Please sign in to comment.