From 55ea67c749a662a8c27f64c5f6d47576308a997d Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Wed, 13 Sep 2023 08:17:19 -0700 Subject: [PATCH] Add missing err check (#166) Signed-off-by: Jon Johnson --- internal/provider/config_data_source.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/provider/config_data_source.go b/internal/provider/config_data_source.go index 017a18a..92821be 100644 --- a/internal/provider/config_data_source.go +++ b/internal/provider/config_data_source.go @@ -190,6 +190,9 @@ func (d *ConfigDataSource) resolvePackageList(ctx context.Context, ic apkotypes. build.WithExtraKeys(d.popts.keyring), build.WithExtraRepos(d.popts.repositories), ) + if err != nil { + return err + } // Determine the exact versions of our transitive packages and lock them // down in the "resolved" configuration, so that this build may be