Skip to content

Commit

Permalink
Merge pull request #1939 from akesser/fix/rds-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterMX authored Nov 8, 2023
2 parents d5e2daf + 04415eb commit 632c534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/rds/dbinstance/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func (e *custom) isUpToDate(ctx context.Context, cr *svcapitypes.DBInstance, out
)

e.cache.addTags, e.cache.removeTags = utils.DiffTags(cr.Spec.ForProvider.Tags, db.TagList)
tagsChanged := len(e.cache.addTags) != 0 && len(e.cache.removeTags) != 0
tagsChanged := len(e.cache.addTags) != 0 || len(e.cache.removeTags) != 0

if diff == "" && !maintenanceWindowChanged && !backupWindowChanged && !versionChanged && !vpcSGsChanged && !dbParameterGroupChanged && !optionGroupChanged && !tagsChanged {
return true, diff, nil
Expand Down

0 comments on commit 632c534

Please sign in to comment.