Skip to content

Commit

Permalink
cleanup interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Apr 20, 2023
1 parent 19dda85 commit 191b600
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/tags/key_value_tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package tags
import (
"context"
"fmt"
"log"
"net/url"
"reflect"
"regexp"
Expand Down Expand Up @@ -744,7 +743,6 @@ type schemaResourceData interface {
GetRawConfig() cty.Value
GetRawPlan() cty.Value
GetRawState() cty.Value
Get(string) interface{}
}

func (tags KeyValueTags) RemoveDuplicates(ctx context.Context, defaultConfig *DefaultConfig, d schemaResourceData) KeyValueTags {
Expand Down Expand Up @@ -774,16 +772,12 @@ func (tags KeyValueTags) RemoveDuplicates(ctx context.Context, defaultConfig *De
}
}

log.Printf("[DEBUG] config_tags: %v", configTags)
log.Printf("[DEBUG] tags_incoming: %v", result)
for k, v := range configTags {
if _, ok := result[k]; !ok {
log.Printf("[DEBUG] tags_diff: key(%s), value(%s)", k, v)
result[k] = v
}
}

log.Printf("[DEBUG] tags_outgoing: %v", result)
return New(ctx, result)
}

Expand Down

0 comments on commit 191b600

Please sign in to comment.