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.
1 parent 616d016 commit c3b6ffcCopy full SHA for c3b6ffc
pkg/printers/problem.go
@@ -53,6 +53,11 @@ func getStatusForProblemEnvironment(problemEnvironment *v1alpha1.ProblemEnvironm
53
v1alpha1.ProblemEnvironmentConditionDeployed,
54
) == metav1.ConditionTrue
55
56
+ ready := util.GetProblemEnvironmentCondition(
57
+ problemEnvironment,
58
+ v1alpha1.ProblemEnvironmentConditionReady,
59
+ ) == metav1.ConditionTrue
60
+
61
assigned := util.GetProblemEnvironmentCondition(
62
problemEnvironment,
63
v1alpha1.ProblemEnvironmentConditionAssigned,
@@ -66,6 +71,10 @@ func getStatusForProblemEnvironment(problemEnvironment *v1alpha1.ProblemEnvironm
66
71
return "Deploying"
67
72
}
68
73
74
+ if !ready {
75
+ return "Deploying (NotReady)"
76
+ }
77
69
78
if !assigned {
70
79
return "Unassigned"
80
0 commit comments