Revision cc60ee97
Added by Justin Sherrill almost 6 years ago
app/models/katello/glue/candlepin/pool.rb | ||
---|---|---|
end
|
||
|
||
def create_activation_key_associations
|
||
keys = Resources::Candlepin::ActivationKey.get(nil, "?include=id&include=pools.pool.id")
|
||
keys = Resources::Candlepin::ActivationKey.get(nil, "?include=id&include=pools.pool.id", organization.label)
|
||
activation_key_ids = keys.collect do |key|
|
||
key['id'] if key['pools'].present? && key['pools'].any? { |pool| pool['pool'].try(:[], 'id') == cp_id }
|
||
end
|
Also available in: Unified diff
Fixes #23788 - update product and content names
this adds updating of product and content names if they
change as part of content import