Fixed typo in repo data source
continuous-integration/drone/push Build is passing Details

This commit is contained in:
lerentis 2023-02-17 22:40:28 +00:00
parent feacbf5a3f
commit 2c787bd532
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func dataSourceGiteaRepoRead(d *schema.ResourceData, meta interface{}) error {
}
username := strings.ToLower(usernameData.(string))
nameData, nameOk := d.GetOk("username")
nameData, nameOk := d.GetOk("name")
if !nameOk {
return fmt.Errorf("name of repo must be passed")
}