Skip to content

Commit a1d1911

Browse files
Fix breaking test
Signed-off-by: Vedant Koditkar <[email protected]>
1 parent b96b544 commit a1d1911

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pkg/compose/pull.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,16 @@ func (s *composeService) pull(ctx context.Context, project *types.Project, opts
9292
w.Event(progress.Event{
9393
ID: service.Name,
9494
Status: progress.Done,
95-
Text: "Exists",
95+
Text: "Skipped - Image is already present locally",
96+
})
97+
continue
98+
}
99+
default:
100+
if _, ok := images[service.Image]; ok {
101+
w.Event(progress.Event{
102+
ID: service.Name,
103+
Status: progress.Done,
104+
Text: "Skipped - Image is already present locally",
96105
})
97106
continue
98107
}

0 commit comments

Comments
 (0)