We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e63181e + a735c77 commit 599561bCopy full SHA for 599561b
1 file changed
modules/k8s/errors.go
@@ -68,7 +68,7 @@ type PodNotAvailable struct {
68
69
// Error is a simple function to return a formatted error message as a string
70
func (err PodNotAvailable) Error() string {
71
- return fmt.Sprintf("Pod %s is not available", err.pod.Name)
+ return fmt.Sprintf("Pod %s is not available, reason: %s, message: %s", err.pod.Name, err.pod.Status.Reason, err.pod.Status.Message)
72
}
73
74
// NewPodNotAvailableError returnes a PodNotAvailable struct when Kubernetes deems a pod is not available
0 commit comments