From 8b9332450c40bd5574181ca068c13bed270376b7 Mon Sep 17 00:00:00 2001 From: Hank Donnay Date: Wed, 15 Jun 2022 10:05:12 -0500 Subject: [PATCH] defaults: update alpine Signed-off-by: Hank Donnay --- updater/defaults/defaults.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/updater/defaults/defaults.go b/updater/defaults/defaults.go index f98ea735b..0da11f8eb 100644 --- a/updater/defaults/defaults.go +++ b/updater/defaults/defaults.go @@ -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))