mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-12-04 21:08:11 +00:00
correct typo
This commit is contained in:
parent
75efa3bc7c
commit
35c4b897fb
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue