File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,7 @@ func (rm *resourceManager) updateConditions (
168
168
for _, condition := range ko.Status.Conditions {
169
169
if condition.Type == ackv1alpha1.ConditionTypeTerminal {
170
170
terminalCondition = condition
171
- break
172
171
}
173
- // Continue to check if Terminal Condition exists
174
172
if condition.Type == ackv1alpha1.ConditionTypeRecoverable {
175
173
recoverableCondition = condition
176
174
}
@@ -204,7 +202,7 @@ func (rm *resourceManager) updateConditions (
204
202
}
205
203
recoverableCondition.Status = corev1.ConditionTrue
206
204
awsErr, _ := ackerr.AWSError(err)
207
- errorMessage := "Unknown Error"
205
+ errorMessage := err. Error()
208
206
if awsErr != nil {
209
207
errorMessage = awsErr.Message()
210
208
}
You can’t perform that action at this time.
0 commit comments