Skip to content

Commit aefe974

Browse files
committed
fix(enterprise-teams): use read-only language in data source Descriptions
Replace "Lists..." with "Retrieves information about..." in: - data_source_github_enterprise_teams.go - data_source_github_enterprise_team_organizations.go Data sources are read-only; their Description must not imply mutation. Consistent with provider conventions and reviewer feedback on upstream PR #3008. Closes #24
1 parent 5c60c45 commit aefe974

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

github/data_source_github_enterprise_team_organizations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func dataSourceGithubEnterpriseTeamOrganizations() *schema.Resource {
1313
return &schema.Resource{
14-
Description: "Lists organizations assigned to a GitHub enterprise team.",
14+
Description: "Retrieves information about organizations assigned to a GitHub enterprise team.",
1515
ReadContext: dataSourceGithubEnterpriseTeamOrganizationsRead,
1616

1717
Schema: map[string]*schema.Schema{

github/data_source_github_enterprise_teams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020

2121
func dataSourceGithubEnterpriseTeams() *schema.Resource {
2222
return &schema.Resource{
23-
Description: "Lists all GitHub enterprise teams in an enterprise.",
23+
Description: "Retrieves information about all GitHub enterprise teams in an enterprise.",
2424
ReadContext: dataSourceGithubEnterpriseTeamsRead,
2525

2626
Schema: map[string]*schema.Schema{

0 commit comments

Comments
 (0)