Skip to content

Commit

Permalink
Merge pull request #147 from jfrog/GH-146-fix-ignore-rule-attribute-c…
Browse files Browse the repository at this point in the history
…onflict

Remove 'component' conflict validations
  • Loading branch information
alexhung authored Nov 16, 2023
2 parents 2e0be6b + d6c520a commit 51ff55b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: true
use: github-native
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.0.3 (November 17, 2023). Tested on Artifactory 7.71.4 and Xray 3.85.5

BUG FIXES:

* resource/xray_ignore_rule: remove validation against setting attributes `build` and `component` at the same time. PR: [#147](https://github.com/jfrog/terraform-provider-xray/pull/147) Issue: [#146](https://github.com/jfrog/terraform-provider-xray/issues/146)

## 2.0.2 (November 1, 2023). Tested on Artifactory 7.71.3 and Xray 3.83.10

BUG FIXES:
Expand Down
9 changes: 4 additions & 5 deletions pkg/xray/resource_xray_ignore_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,10 @@ func resourceXrayIgnoreRule() *schema.Resource {
},
},
"component": {
Type: schema.TypeSet,
Optional: true,
ForceNew: true,
ConflictsWith: []string{"build", "release_bundle"},
Description: "List of specific components to ignore. Omit to apply to all.",
Type: schema.TypeSet,
Optional: true,
ForceNew: true,
Description: "List of specific components to ignore. Omit to apply to all.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Expand Down

0 comments on commit 51ff55b

Please sign in to comment.