Skip to content

Commit

Permalink
Update retention.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmorin authored Apr 2, 2021
1 parent 457bd74 commit e9e87a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/retention.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,12 @@ func expandRententionRules(d *schema.ResourceData) []models.Rules {
tag.Decoration = "matches"
tag.Pattern = i["tag_matching"].(string)
tag.Extras = "{\"untagged\":" + strconv.FormatBool(i["untagged_artifacts"].(bool)) + "}"
log.Printf("[DEBUG] %s\n ", "tag matching")
}

if i["tag_excluding"].(string) != "" {
tag.Decoration = "excludes"
tag.Pattern = i["tag_excluding"].(string)
tag.Extras = "{\"untagged\":" + strconv.FormatBool(i["untagged_artifacts"].(bool)) + "}"
log.Printf("[DEBUG] %s\n ", "tag excluding")
}

scopeSelectorsRepository := models.ScopeSelectors{
Expand Down

0 comments on commit e9e87a2

Please sign in to comment.