Skip to content

Commit

Permalink
Merge pull request #31 from jlyheden/xray-watch-all-builds
Browse files Browse the repository at this point in the history
Add all-builds to schema validation
  • Loading branch information
alexhung authored Feb 22, 2022
2 parents 2882e1b + 47838b6 commit 5141ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/xray/resource_xray_watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func resourceXrayWatch() *schema.Resource {
"type": {
Type: schema.TypeString,
Required: true,
Description: "Type of resource to be watched. Options: `all-repos`, `repository`, `build`, `project`, `all-projects`.",
ValidateDiagFunc: inList("all-repos", "repository", "build", "project", "all-projects"),
Description: "Type of resource to be watched. Options: `all-repos`, `repository`, `all-builds`, `build`, `project`, `all-projects`.",
ValidateDiagFunc: inList("all-repos", "repository", "all-builds", "build", "project", "all-projects"),
},
"bin_mgr_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit 5141ef0

Please sign in to comment.