mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-07 13:49:02 +00:00
feat(deploy): print last logs from new container when fails to become healthy
This commit is contained in:
1 parent
8afe52367f
commit
303c8e4506
3 files changed
+76
-24
No files matched your search
@@ -24,6 +24,10 @@ type PreDeployHookError struct {
|
||||
MachineName string
|
||||
}
|
||||
|
||||
func (e *PreDeployHookError) Unwrap() error {
|
||||
return e.error
|
||||
}
|
||||
|
||||
// DefaultPreDeployTimeout is the maximum duration to wait for a pre-deploy hook container to complete.
|
||||
const DefaultPreDeployTimeout = 5 * time.Minute
|
||||
|
||||
|
||||
Reference in new issue
Block a user