Skip to content

Commit 932f966

Browse files
authored
fix: setTerminalCondition setting Synced condition (#12)
Fixes the custom setTerminalCondition() function in pkg/resource/db_instance/conditions.go to fetch the terminal condition and not the resource synced condition. Issue aws-controllers-k8s/community#827 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 2a63e6d commit 932f966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/resource/db_instance/conditions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func setTerminalCondition(
8787
message *string,
8888
reason *string,
8989
) {
90-
c := getSyncedCondition(r)
90+
c := getTerminalCondition(r)
9191
if c == nil {
9292
c = &ackv1alpha1.Condition{
9393
Type: ackv1alpha1.ConditionTypeTerminal,

0 commit comments

Comments
 (0)