mirror of
https://github.com/docker/compose.git
synced 2025-07-27 07:34:10 +02:00
unused context parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
f65a0d3720
commit
49e653f142
@ -52,7 +52,7 @@ func (s *composeService) ensureImagesExists(ctx context.Context, project *types.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if service.Build != nil {
|
if service.Build != nil {
|
||||||
opts[service.Name] = s.buildImage(ctx, service, project.WorkingDir)
|
opts[service.Name] = s.buildImage(service, project.WorkingDir)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ func (s *composeService) build(ctx context.Context, project *types.Project, opts
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *composeService) buildImage(ctx context.Context, service types.ServiceConfig, contextPath string) build.Options {
|
func (s *composeService) buildImage(service types.ServiceConfig, contextPath string) build.Options {
|
||||||
var tags []string
|
var tags []string
|
||||||
if service.Image != "" {
|
if service.Image != "" {
|
||||||
tags = append(tags, service.Image)
|
tags = append(tags, service.Image)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user