Skip to content

Commit

Permalink
cmk-update-config: remove local variable
Browse files Browse the repository at this point in the history
Change-Id: I3094d7d73e4e97fc494fd8f84ad0908b686c5fc7
  • Loading branch information
SoloJacobs committed Jan 8, 2025
1 parent 28214b7 commit e98b554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmk/update_config/plugins/pre_actions/ui_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def __call__(self, logger: Logger, conflict_mode: ConflictMode) -> None:
# no ui stuff to update
if path_config is None:
return
package_store = PACKAGE_STORE
installer, package_map = get_installer_and_package_map(path_config)
disabled_packages: set[PackageID] = set()
for path, _gui_part, module_name, error in get_failed_plugins():
Expand All @@ -63,7 +62,7 @@ def __call__(self, logger: Logger, conflict_mode: ConflictMode) -> None:
continue # already dealt with

logger.error(error_message_incomp_package(path, package_id, error))
if disable_incomp_mkp(conflict_mode, package_id, installer, package_store, path_config):
if disable_incomp_mkp(conflict_mode, package_id, installer, PACKAGE_STORE, path_config):
disabled_packages.add(package_id)
remove_failed_plugin(path)
continue
Expand Down

0 comments on commit e98b554

Please sign in to comment.