Skip to content

Commit

Permalink
cleanup - add_product_services() is used just once
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 18, 2014
1 parent 514e9a2 commit af17767
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/registration/registration.rb
Expand Up @@ -79,16 +79,12 @@ def register_products(products)
log.info "registered product_services: #{product_services.inspect}"

if !product_services.empty?
add_product_services(product_services)
::Registration::SwMgmt.add_services(product_services, @credentials)
end

product_services
end

def add_product_services(product_services)
::Registration::SwMgmt.add_services(product_services, @credentials)
end

def get_addon_list
# extensions for base product
base_product = ::Registration::Storage::BaseProduct.instance.product
Expand Down

0 comments on commit af17767

Please sign in to comment.