Skip to content

Commit 871977c

Browse files
committed
resource/gitlab_group_label: Use context in Importer
1 parent 881f7f9 commit 871977c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/resource_gitlab_group_label.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func resourceGitlabGroupLabelImporter(ctx context.Context, d *schema.ResourceDat
138138
}
139139

140140
d.SetId(parts[1])
141-
group, _, err := client.Groups.GetGroup(parts[0], nil)
141+
group, _, err := client.Groups.GetGroup(parts[0], nil, gitlab.WithContext(ctx))
142142
if err != nil {
143143
return nil, err
144144
}

0 commit comments

Comments
 (0)