Skip to content

Commit

Permalink
defaults: update alpine
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay committed Jun 21, 2022
1 parent 3d40ef6 commit 8b93324
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion updater/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@ func inner(ctx context.Context) error {
return err
}
updater.Register("rhel", rf)
af, err := alpine.NewFactory(ctx)
if err != nil {
return err
}
updater.Register("alpine", af)

updater.Register("ubuntu", &ubuntu.Factory{Releases: ubuntu.Releases})
updater.Register("alpine", driver.UpdaterSetFactoryFunc(alpine.UpdaterSet))
updater.Register("aws", driver.UpdaterSetFactoryFunc(aws.UpdaterSet))
updater.Register("debian", driver.UpdaterSetFactoryFunc(debian.UpdaterSet))
updater.Register("oracle", driver.UpdaterSetFactoryFunc(oracle.UpdaterSet))
Expand Down

0 comments on commit 8b93324

Please sign in to comment.