Skip to content

Commit

Permalink
Rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akofink authored and ehelms committed Feb 2, 2018
1 parent e9d41ea commit 170f3cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/katello/glue/candlepin/pool.rb
Expand Up @@ -91,6 +91,7 @@ def stacking_subscription(org_label, stacking_id)
subscription
end

# rubocop:disable MethodLength
def import_data(index_hosts = true)
pool_attributes = {}.with_indifferent_access
pool_json = self.backend_data
Expand Down Expand Up @@ -136,6 +137,7 @@ def import_data(index_hosts = true)
self.create_activation_key_associations
self.import_hosts if index_hosts
end
# rubocop:enable MethodLength

def import_hosts
entitlements = Resources::Candlepin::Pool.entitlements(self.cp_id, ["consumer.uuid"])
Expand Down

0 comments on commit 170f3cd

Please sign in to comment.