From a7961b6eb31c49c91bc7b6cc4a270c6b0b079a47 Mon Sep 17 00:00:00 2001
From: Ben Bodenmiller <bbodenmiller@gmail.com>
Date: Wed, 9 Feb 2022 10:10:34 +0000
Subject: [PATCH] Background migrations command for source should match

---
 doc/update/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/update/index.md b/doc/update/index.md
index 22e3ac7f35198..a5aa563a17a08 100644
--- a/doc/update/index.md
+++ b/doc/update/index.md
@@ -106,7 +106,7 @@ sudo gitlab-rails runner -e production 'puts Gitlab::Database::BackgroundMigrati
 ```shell
 cd /home/git/gitlab
 sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
-sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending'
+sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending.count'
 ```
 
 ### Batched background migrations
-- 
GitLab