correct typo
This commit is contained in:
parent
75efa3bc7c
commit
35c4b897fb
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func dataSourceGiteaOrg() *schema.Resource {
|
func dataSourceGiteaOrg() *schema.Resource {
|
||||||
return &schema.Resource{
|
return &schema.Resource{
|
||||||
Read: dataSourceGitlabUserRead,
|
Read: dataSourceGiteaUserRead,
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"id": {
|
"id": {
|
||||||
Type: schema.TypeInt,
|
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)
|
client := meta.(*gitea.Client)
|
||||||
|
|
||||||
var org *gitea.Organization
|
var org *gitea.Organization
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func dataSourceGiteaUser() *schema.Resource {
|
func dataSourceGiteaUser() *schema.Resource {
|
||||||
return &schema.Resource{
|
return &schema.Resource{
|
||||||
Read: dataSourceGitlabUserRead,
|
Read: dataSourceGiteaUserRead,
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"id": {
|
"id": {
|
||||||
Type: schema.TypeInt,
|
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)
|
client := meta.(*gitea.Client)
|
||||||
|
|
||||||
var user *gitea.User
|
var user *gitea.User
|
||||||
|
Loading…
Reference in New Issue
Block a user