Skip to content

Commit 003dab7

Browse files
authored
fix: fail if pull image fails
1 parent 027ec13 commit 003dab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func SystemInit(ctx context.Context, cfg config.Configuration, staticStore *stor
5454
for _, container := range containersToPreinstall {
5555
feedback.Printf("Pulling container image %s ...", container)
5656
if err := pullImage(ctx, stdout, docker.Client(), container); err != nil {
57-
feedback.Printf("Warning: failed to read image pull response - %v", err)
57+
return fmt.Errorf("failed to pull image %s: %w", container, err)
5858
}
5959
}
6060

0 commit comments

Comments
 (0)