Skip to content

Commit dd308da

Browse files
committed
corrected e to s
1 parent 2b62062 commit dd308da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/rds/dbinstance/setup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,8 @@ func (s *shared) isUpToDate(ctx context.Context, cr *svcapitypes.DBInstance, out
628628
})
629629
}
630630
}
631-
e.cache.addTags, e.cache.removeTags = utils.DiffTags(cr.Spec.ForProvider.Tags, observedTags)
632-
tagsChanged := len(e.cache.addTags) != 0 || len(e.cache.removeTags) != 0
631+
s.cache.addTags, s.cache.removeTags = utils.DiffTags(cr.Spec.ForProvider.Tags, observedTags)
632+
tagsChanged := len(s.cache.addTags) != 0 || len(s.cache.removeTags) != 0
633633

634634
if diff == "" && !maintenanceWindowChanged && !backupWindowChanged && !iopsChanged && !storageThroughputChanged && !versionChanged && !vpcSGsChanged && !dbParameterGroupChanged && !optionGroupChanged && !tagsChanged {
635635
return true, diff, nil

0 commit comments

Comments
 (0)