Skip to content

Commit

Permalink
Removes redundant condition from toAPIBuildOptions in build.go
Browse files Browse the repository at this point in the history
Signed-off-by: Mayank Kapur <kapurm17@gmail.com>
  • Loading branch information
kapurm17 committed Jul 23, 2024
1 parent 44337d2 commit 021cd71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/compose/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ func (opts buildOptions) toAPIBuildOptions(services []string) (api.BuildOptions,
ID: id,
Path: path,
})
if err != nil {
return api.BuildOptions{}, err
}
}
builderName := opts.builder
if builderName == "" {
Expand Down

0 comments on commit 021cd71

Please sign in to comment.