Skip to content

Commit

Permalink
fix(service): do not initialize the target in add_service
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Dec 4, 2024
1 parent 5aec29f commit 64d27a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions service/lib/agama/software/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,6 @@ def registration
# code is based on https://github.com/yast/yast-registration/blob/master/src/lib/registration/sw_mgmt.rb#L365
# rubocop:disable Metrics/AbcSize
def add_service(service)
# init repos, so we are sure we operate on "/" and have GPG imported
initialize_target
# save repositories before refreshing added services (otherwise
# pkg-bindings will treat them as removed by the service refresh and
# unload them)
Expand Down

0 comments on commit 64d27a3

Please sign in to comment.