github_team data source: fix wrong set (#14859)
Do not set members_count and repos_count, which are not declared.
This commit is contained in:
parent
093861492d
commit
396dbac72f
|
@ -55,8 +55,6 @@ func dataSourceGithubTeamRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
d.Set("description", *team.Description)
|
d.Set("description", *team.Description)
|
||||||
d.Set("privacy", *team.Privacy)
|
d.Set("privacy", *team.Privacy)
|
||||||
d.Set("permission", *team.Permission)
|
d.Set("permission", *team.Permission)
|
||||||
d.Set("members_count", *team.MembersCount)
|
|
||||||
d.Set("repos_count", *team.ReposCount)
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue