Skip to content

Commit

Permalink
Post processor araito_owner tag check should be case sensitive (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmennes authored Oct 25, 2024
1 parent a12b4e2 commit 1fe0144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/access_provider/post_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (p *PostProcessor) processOverwriteOwners(accessProvider *sync_from_target.
var raitoOwnerTag *tag.Tag

for _, t := range accessProvider.Tags {
if !strings.EqualFold(t.Key, constants.RaitoOwnerTagKey) {
if t.Key != constants.RaitoOwnerTagKey {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion internal/data_source/post_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (p *PostProcessor) postProcessDataObject(do *data_source.DataObject, output
var raitoOwnerTag *tag.Tag

for _, t := range do.Tags {
if !strings.EqualFold(t.Key, constants.RaitoOwnerTagKey) {
if t.Key != constants.RaitoOwnerTagKey {
continue
}

Expand Down

0 comments on commit 1fe0144

Please sign in to comment.