Merge pull request #1511 from slumbering/fix/check-docker-version

log error while removing buildkit instead of returning one
This commit is contained in:
Andrea Luzzardi 2022-01-28 14:23:51 -08:00 committed by GitHub
commit a0c89a335f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ func checkBuildkit(ctx context.Context) error {
lg.Debug().Msg("no buildkit daemon detected") lg.Debug().Msg("no buildkit daemon detected")
if err := removeBuildkit(ctx); err != nil { if err := removeBuildkit(ctx); err != nil {
return err lg.Debug().Err(err).Msg("error while removing buildkit")
} }
if err := installBuildkit(ctx); err != nil { if err := installBuildkit(ctx); err != nil {