From 3cf81fbcb6ed1987e40fc2f96770c17e24f04011 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 10 Sep 2019 11:16:08 -0400 Subject: [PATCH] Fixes #27807 - Prevent timeout during CVV import (#696) (cherry picked from commit 4436da5f24eececad4d4ee9cee19564189190b50) --- lib/hammer_cli_katello/content_view_version.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hammer_cli_katello/content_view_version.rb b/lib/hammer_cli_katello/content_view_version.rb index 0fa823bd..e69be408 100644 --- a/lib/hammer_cli_katello/content_view_version.rb +++ b/lib/hammer_cli_katello/content_view_version.rb @@ -498,7 +498,8 @@ def sync_repositories(repositories, organization_id, options) library_repos = index( :repositories, 'organization_id' => organization_id, - 'library' => true + 'library' => true, + 'label' => repo['label'] ) library_repo = library_repos.select do |candidate_repo|