mirror of
https://github.com/docker/compose.git
synced 2025-07-26 07:04:32 +02:00
Include error message in pull warning/errors
Signed-off-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
3371227794
commit
2e85b3c265
@ -203,6 +203,7 @@ func (s *composeService) pullServiceImage(ctx context.Context, service types.Ser
|
|||||||
ID: service.Name,
|
ID: service.Name,
|
||||||
Status: progress.Warning,
|
Status: progress.Warning,
|
||||||
Text: "Warning",
|
Text: "Warning",
|
||||||
|
StatusText: err.Error(),
|
||||||
})
|
})
|
||||||
return "", WrapCategorisedComposeError(err, PullFailure)
|
return "", WrapCategorisedComposeError(err, PullFailure)
|
||||||
}
|
}
|
||||||
@ -212,6 +213,7 @@ func (s *composeService) pullServiceImage(ctx context.Context, service types.Ser
|
|||||||
ID: service.Name,
|
ID: service.Name,
|
||||||
Status: progress.Error,
|
Status: progress.Error,
|
||||||
Text: "Error",
|
Text: "Error",
|
||||||
|
StatusText: err.Error(),
|
||||||
})
|
})
|
||||||
return "", WrapCategorisedComposeError(err, PullFailure)
|
return "", WrapCategorisedComposeError(err, PullFailure)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user