Skip to content

Commit 87ee06e

Browse files
author
Adam Janis
committed
fix: username data parameter
it needs to match Schema, which is lowercase
1 parent 5157b21 commit 87ee06e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/data_source_gitlab_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func dataSourceGitlabUserRead(d *schema.ResourceData, meta interface{}) error {
6969
}
7070
d.SetId(fmt.Sprintf("%d", found.ID))
7171
d.Set("name", found.Name)
72-
d.Set("userName", found.Username)
72+
d.Set("username", found.Username)
7373
d.Set("email", found.Email)
7474
return nil
7575
}

0 commit comments

Comments
 (0)