Skip to content

Commit 3add825

Browse files
committed
Fix the external flag being mapped to admin instead
1 parent ae5d917 commit 3add825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/resource_gitlab_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func resourceGitlabUserUpdate(d *schema.ResourceData, meta interface{}) error {
170170
}
171171

172172
if d.HasChange("is_external") {
173-
options.Admin = gitlab.Bool(d.Get("is_external").(bool))
173+
options.External = gitlab.Bool(d.Get("is_external").(bool))
174174
}
175175

176176
log.Printf("[DEBUG] update gitlab user %s", d.Id())

0 commit comments

Comments
 (0)