From 35c4b897fb9dc0694fd8421679360c0275a0ff43 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 31 Mar 2022 20:15:25 -0400 Subject: [PATCH] correct typo --- gitea/data_source_gitea_org.go | 4 ++-- gitea/data_source_gitea_user.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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