Skip to content

Commit

Permalink
chore: cleanup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Apr 14, 2023
1 parent b8497ed commit 4e12a98
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/provider/intercept.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,6 @@ func (r tagsInterceptor) run(ctx context.Context, d *schema.ResourceData, meta a
// Remove system tags.
toAdd = toAdd.IgnoreSystem(inContext.ServicePackageName)

tflog.Debug(ctx, "all_tags", map[string]interface{}{
"to_add": configTags,
"to_remove": tagsAll,
})

var identifier string
if identifierAttribute := r.tags.IdentifierAttribute; identifierAttribute == "id" {
identifier = d.Id()
Expand All @@ -389,10 +384,6 @@ func (r tagsInterceptor) run(ctx context.Context, d *schema.ResourceData, meta a
if v, ok := sp.(interface {
UpdateTags(context.Context, any, string, any, any) error
}); ok {
tflog.Debug(ctx, "finally_not_getting_here", map[string]interface{}{
"to_add": configTags,
"to_remove": tagsAll,
})
err = v.UpdateTags(ctx, meta, identifier, tagsAll, toAdd)
} else if v, ok := sp.(interface {
UpdateTags(context.Context, any, string, string, any, any) error
Expand Down

0 comments on commit 4e12a98

Please sign in to comment.