Skip to content

Commit 5332032

Browse files
ndeloofglours
authored andcommitted
WithServicesEnabled
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent d2fae8e commit 5332032

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

types/project.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,7 @@ func (p *Project) WithServicesEnabled(names ...string) (*Project, error) {
380380
service := p.DisabledServices[name]
381381
profiles = append(profiles, service.Profiles...)
382382
}
383-
newProject, err := newProject.WithProfiles(profiles)
384-
if err != nil {
385-
return newProject, err
386-
}
387-
388-
return newProject.WithServicesEnvironmentResolved(true)
383+
return newProject.WithProfiles(profiles)
389384
}
390385

391386
// WithoutUnnecessaryResources drops networks/volumes/secrets/configs that are not referenced by active services

0 commit comments

Comments
 (0)