Skip to content

Commit 1b97fb4

Browse files
committed
Remove unnecessary checks
1 parent 309f8d3 commit 1b97fb4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

github/resource_github_organization_ruleset.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ func resourceGithubOrganizationRuleset() *schema.Resource {
197197
Optional: true,
198198
MaxItems: 1,
199199
ExactlyOneOf: []string{"conditions.0.repository_property", "conditions.0.repository_name", "conditions.0.repository_id"},
200-
AtLeastOneOf: []string{"conditions.0.repository_property", "conditions.0.repository_name", "conditions.0.repository_id"},
201200
Description: "Targets repositories that match the specified name patterns.",
202201
Elem: &schema.Resource{
203202
Schema: map[string]*schema.Schema{
@@ -230,7 +229,6 @@ func resourceGithubOrganizationRuleset() *schema.Resource {
230229
Type: schema.TypeList,
231230
Optional: true,
232231
ExactlyOneOf: []string{"conditions.0.repository_property", "conditions.0.repository_name", "conditions.0.repository_id"},
233-
AtLeastOneOf: []string{"conditions.0.repository_property", "conditions.0.repository_name", "conditions.0.repository_id"},
234232
Description: "The repository IDs that the ruleset applies to. One of these IDs must match for the ruleset to apply.",
235233
Elem: &schema.Schema{
236234
Type: schema.TypeInt,

0 commit comments

Comments
 (0)