mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 11:33:33 +00:00
feat(deploy): print last logs from new container when fails to become healthy
This commit is contained in:
@@ -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