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 (
168168 for _, condition := range ko.Status.Conditions {
169169 if condition.Type == ackv1alpha1.ConditionTypeTerminal {
170170 terminalCondition = condition
171- break
172171 }
173- // Continue to check if Terminal Condition exists
174172 if condition.Type == ackv1alpha1.ConditionTypeRecoverable {
175173 recoverableCondition = condition
176174 }
@@ -204,7 +202,7 @@ func (rm *resourceManager) updateConditions (
204202 }
205203 recoverableCondition.Status = corev1.ConditionTrue
206204 awsErr, _ := ackerr.AWSError(err)
207- errorMessage := "Unknown Error"
205+ errorMessage := err. Error()
208206 if awsErr != nil {
209207 errorMessage = awsErr.Message()
210208 }
You can’t perform that action at this time.
0 commit comments