Skip to content

Commit

Permalink
clairctl: update to new API
Browse files Browse the repository at this point in the history
The function name for the LockSource changed in claircore.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Sep 2, 2021
1 parent 0f6d0e4 commit 66a3137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/clairctl/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func exportAction(c *cli.Context) error {
fmt.Fprintln(os.Stderr, err)
}
}()
mgr, err := updates.NewManager(ctx, store, updates.LocalLockSource(), cl,
mgr, err := updates.NewManager(ctx, store, updates.NewLocalLockSource(), cl,
updates.WithConfigs(cfgs),
updates.WithEnabled(cfg.Updaters.Sets),
)
Expand Down

0 comments on commit 66a3137

Please sign in to comment.