Skip to content

Commit

Permalink
ee
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmorin committed Apr 2, 2021
1 parent 5cefb41 commit 09aab5f
Show file tree
Hide file tree
Showing 4 changed files with 479 additions and 2 deletions.
Binary file added bin/goreleaser
Binary file not shown.
2 changes: 1 addition & 1 deletion client/retention.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func expandRententionRules(d *schema.ResourceData) []models.Rules {

if i["tag_excluding"].(string) != "" {
tag.Decoration = "excludes"
tag.Pattern = i["tag_matching"].(string)
tag.Pattern = i["tag_excluding"].(string)
tag.Extras = "{\"untagged\":" + strconv.FormatBool(i["untagged_artifacts"].(bool)) + "}"
}

Expand Down
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ module github.com/BESTSELLER/terraform-provider-harbor

go 1.14

require github.com/hashicorp/terraform-plugin-sdk/v2 v2.5.0
require (
github.com/goreleaser/goreleaser v0.162.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.5.0
)
Loading

0 comments on commit 09aab5f

Please sign in to comment.