File tree 2 files changed +0
-12
lines changed
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -159,16 +159,6 @@ func (opts createOptions) Apply(project *types.Project) error {
159
159
project .Services [i ] = service
160
160
}
161
161
}
162
- // opts.noBuild, however, means do not perform ANY builds
163
- if opts .noBuild {
164
- for i , service := range project .Services {
165
- service .Build = nil
166
- if service .Image == "" {
167
- service .Image = api .GetImageNameOrDefault (service , project .Name )
168
- }
169
- project .Services [i ] = service
170
- }
171
- }
172
162
173
163
if err := applyPlatforms (project , true ); err != nil {
174
164
return err
Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ func runUp(
177
177
}
178
178
179
179
var build * api.BuildOptions
180
- // this check is technically redundant as createOptions::apply()
181
- // already removed all the build sections
182
180
if ! createOptions .noBuild {
183
181
if createOptions .quietPull {
184
182
buildOptions .Progress = string (xprogress .QuietMode )
You can’t perform that action at this time.
0 commit comments