Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 03:11:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-13 03:11:18 +0300
commite2cd7b7352e498d96de4795eed1780f2d9fcfd05 (patch)
tree5ef20178504e0375fc80e5e42fa436ee477d893e /doc/user/group/import
parent64ed14f3c54082d4fe08aed962b9a845afad7831 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/group/import')
-rw-r--r--doc/user/group/import/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/group/import/index.md b/doc/user/group/import/index.md
index e9ac3cb3225..7f8bb95f4d5 100644
--- a/doc/user/group/import/index.md
+++ b/doc/user/group/import/index.md
@@ -261,7 +261,7 @@ you can find the failure or error messages for the group import attempt using:
```ruby
# Get relevant import records
-import = BulkImports::Entity.where(namespace_id: Group.id).map(&:bulk_import)
+import = BulkImports::Entity.where(namespace_id: Group.id).map(&:bulk_import).last
# Alternative lookup by user
import = BulkImport.where(user_id: User.find(...)).last