Skip to content

Commit b0dbff2

Browse files
fix: address PR review comments for enterprise team data source
- Add top-level Description field to data source - Remove redundant ConflictsWith from team_id (ExactlyOneOf on slug is sufficient)
1 parent a51b89a commit b0dbff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/data_source_github_enterprise_team.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414

1515
func dataSourceGithubEnterpriseTeam() *schema.Resource {
1616
return &schema.Resource{
17+
Description: "Gets information about a GitHub enterprise team.",
1718
ReadContext: dataSourceGithubEnterpriseTeamRead,
1819

1920
Schema: map[string]*schema.Schema{
@@ -34,7 +35,6 @@ func dataSourceGithubEnterpriseTeam() *schema.Resource {
3435
Type: schema.TypeInt,
3536
Optional: true,
3637
Computed: true,
37-
ConflictsWith: []string{"slug"},
3838
Description: "The numeric ID of the enterprise team.",
3939
ValidateDiagFunc: validation.ToDiagFunc(validation.IntAtLeast(1)),
4040
},

0 commit comments

Comments
 (0)