Skip to content

Commit

Permalink
Add back accidentally removed error check
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperlin committed Jan 8, 2025
1 parent 1ca8771 commit 1e3f133
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/linux/distro_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ func HandleContainer(c DistroConfig) gwclient.BuildFunc {
}

img, err := BuildImageConfig(ctx, sOpt.Resolver, spec, platform, targetKey)
if err != nil {
return nil, nil, err
}

ctr, err := c.BuildContainer(client, worker, sOpt, spec, targetKey, deb)
if err != nil {
Expand Down

0 comments on commit 1e3f133

Please sign in to comment.