Merge "Remove code breaking app UTs under py39/Bullseye"
This commit is contained in:
commit
dfdc809e20
|
@ -200,7 +200,6 @@ class HelmOperator(object):
|
|||
"""Build a dictionary of AppLifecycle operators"""
|
||||
|
||||
operators_dict = {}
|
||||
dist_info_dict = {}
|
||||
|
||||
app_lifecycle_operators = extension.ExtensionManager(
|
||||
namespace=self.STEVEDORE_LIFECYCLE,
|
||||
|
@ -217,16 +216,6 @@ class HelmOperator(object):
|
|||
operator_name = operator.name
|
||||
operators_dict[operator_name] = operator.obj
|
||||
|
||||
distribution = utils.get_distribution_from_entry_point(operator.entry_point)
|
||||
(project_name, project_location) = \
|
||||
utils.get_project_name_and_location_from_distribution(distribution)
|
||||
|
||||
# Extract distribution information for logging
|
||||
dist_info_dict[operator_name] = {
|
||||
'name': project_name,
|
||||
'location': project_location,
|
||||
}
|
||||
|
||||
return operators_dict
|
||||
|
||||
def get_app_lifecycle_operator(self, app_name):
|
||||
|
|
Loading…
Reference in New Issue