Skip to content

Commit

Permalink
rename SccHelpers to ConnectHelpers (to match the file name)
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Aug 6, 2014
1 parent a5dcd2b commit 413933b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/clients/inst_scc.rb
Expand Up @@ -136,7 +136,7 @@ def register_base_system

next if init_registration == :cancel

success = ::Registration::SccHelpers.catch_registration_errors do
success = ::Registration::ConnectHelpers.catch_registration_errors do
base_product = ::Registration::SwMgmt.find_base_product
distro_target = base_product["register_target"]

Expand Down Expand Up @@ -196,7 +196,7 @@ def register_base_system
def refresh_base_product
init_registration

upgraded = ::Registration::SccHelpers.catch_registration_errors(show_update_hint: true) do
upgraded = ::Registration::ConnectHelpers.catch_registration_errors(show_update_hint: true) do
# then register the product(s)
base_product = ::Registration::SwMgmt.base_product_to_register
product_services = Popup.Feedback(
Expand Down Expand Up @@ -227,7 +227,7 @@ def refresh_addons
addons_to_update = ::Registration::SwMgmt.find_addon_updates(addons)

failed_addons = addons_to_update.reject do |addon_to_update|
::Registration::SccHelpers.catch_registration_errors do
::Registration::ConnectHelpers.catch_registration_errors do
# then register the product(s)
product_services = Popup.Feedback(
_(CONTACTING_MESSAGE),
Expand Down Expand Up @@ -419,7 +419,7 @@ def register_selected_addons
init_registration

product_succeed = registration_order.map do |product|
::Registration::SccHelpers.catch_registration_errors(message_prefix: "#{product.label}\n") do
::Registration::ConnectHelpers.catch_registration_errors(message_prefix: "#{product.label}\n") do
product_service = Popup.Feedback(
_(CONTACTING_MESSAGE),
# %s is name of given product
Expand Down
2 changes: 1 addition & 1 deletion src/clients/scc_auto.rb
Expand Up @@ -159,7 +159,7 @@ def write
import_certificate(@config.reg_server_cert)
end

ret = ::Registration::SccHelpers.catch_registration_errors do
ret = ::Registration::ConnectHelpers.catch_registration_errors do
base_product = ::Registration::SwMgmt.find_base_product
distro_target = base_product["register_target"]

Expand Down
2 changes: 1 addition & 1 deletion src/lib/registration/connect_helpers.rb
Expand Up @@ -33,7 +33,7 @@

module Registration

class SccHelpers
class ConnectHelpers
include Yast::Logger
extend Yast::I18n

Expand Down
2 changes: 1 addition & 1 deletion src/lib/registration/ui/autoyast_config_workflow.rb
Expand Up @@ -94,7 +94,7 @@ def select_remote_addons

ret = nil

success = ::Registration::SccHelpers.catch_registration_errors do
success = ::Registration::ConnectHelpers.catch_registration_errors do
ret = ::Registration::UI::AddonSelectionDialog.run(registration)
end

Expand Down

0 comments on commit 413933b

Please sign in to comment.