diff --git a/gitea/data_source_gitea_org.go b/gitea/data_source_gitea_org.go index 2af7cc0..92d3757 100644 --- a/gitea/data_source_gitea_org.go +++ b/gitea/data_source_gitea_org.go @@ -11,7 +11,7 @@ import ( func dataSourceGiteaOrg() *schema.Resource { return &schema.Resource{ - Read: dataSourceGitlabUserRead, + Read: dataSourceGiteaUserRead, Schema: map[string]*schema.Schema{ "id": { Type: schema.TypeInt, @@ -50,7 +50,7 @@ func dataSourceGiteaOrg() *schema.Resource { } } -func dataSourceGitlabOrgRead(d *schema.ResourceData, meta interface{}) error { +func dataSourceGiteaOrgRead(d *schema.ResourceData, meta interface{}) error { client := meta.(*gitea.Client) var org *gitea.Organization diff --git a/gitea/data_source_gitea_user.go b/gitea/data_source_gitea_user.go index 67acf3b..41e6c65 100644 --- a/gitea/data_source_gitea_user.go +++ b/gitea/data_source_gitea_user.go @@ -11,7 +11,7 @@ import ( func dataSourceGiteaUser() *schema.Resource { return &schema.Resource{ - Read: dataSourceGitlabUserRead, + Read: dataSourceGiteaUserRead, Schema: map[string]*schema.Schema{ "id": { Type: schema.TypeInt, @@ -54,7 +54,7 @@ func dataSourceGiteaUser() *schema.Resource { } } -func dataSourceGitlabUserRead(d *schema.ResourceData, meta interface{}) error { +func dataSourceGiteaUserRead(d *schema.ResourceData, meta interface{}) error { client := meta.(*gitea.Client) var user *gitea.User