Skip to content

Commit 396dbac

Browse files
raphinkstack72
authored andcommitted
github_team data source: fix wrong set (hashicorp#14859)
Do not set members_count and repos_count, which are not declared.
1 parent 0938614 commit 396dbac

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

builtin/providers/github/data_source_github_team.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ func dataSourceGithubTeamRead(d *schema.ResourceData, meta interface{}) error {
5555
d.Set("description", *team.Description)
5656
d.Set("privacy", *team.Privacy)
5757
d.Set("permission", *team.Permission)
58-
d.Set("members_count", *team.MembersCount)
59-
d.Set("repos_count", *team.ReposCount)
6058

6159
return nil
6260
}

0 commit comments

Comments
 (0)