mirror of https://github.com/docker/compose.git
Fix breaking test
Signed-off-by: Vedant Koditkar <vedant.koditkar@outlook.com>
This commit is contained in:
parent
b96b5449e5
commit
a1d19119d2
|
@ -92,7 +92,16 @@ func (s *composeService) pull(ctx context.Context, project *types.Project, opts
|
||||||
w.Event(progress.Event{
|
w.Event(progress.Event{
|
||||||
ID: service.Name,
|
ID: service.Name,
|
||||||
Status: progress.Done,
|
Status: progress.Done,
|
||||||
Text: "Exists",
|
Text: "Skipped - Image is already present locally",
|
||||||
|
})
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
if _, ok := images[service.Image]; ok {
|
||||||
|
w.Event(progress.Event{
|
||||||
|
ID: service.Name,
|
||||||
|
Status: progress.Done,
|
||||||
|
Text: "Skipped - Image is already present locally",
|
||||||
})
|
})
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue