fix: 🐛 log error while removing buildkit instead of returning one

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2022-01-21 17:44:58 +01:00
parent 0611eec75b
commit 75c275c600

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().Msg("Error while removing Buildkit")
} }
if err := installBuildkit(ctx); err != nil { if err := installBuildkit(ctx); err != nil {