Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unable to activate the plugin server #1384

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions console/services/plugin/app_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def create_monitor_resources(self, tenant, service, plugin_name, user=None):
self.__create_service_monitor(tenant, service, plugin_name, user)

# component graphs
self.__create_component_graphs(service.service_id, plugin_name)
self.__create_component_graphs(service.service_id, plugin_name, service.arch)

@staticmethod
def __create_service_monitor(tenant, service, plugin_name, user=None):
Expand All @@ -389,9 +389,9 @@ def __create_service_monitor(tenant, service, plugin_name, user=None):
logger.debug(e)

@staticmethod
def __create_component_graphs(component_id, plugin_name):
def __create_component_graphs(component_id, plugin_name, arch):
try:
component_graph_service.create_internal_graphs(component_id, plugin_name)
component_graph_service.create_internal_graphs(component_id, plugin_name, arch)
except ErrInternalGraphsNotFound as e:
logger.warning("plugin name '{}': {}", plugin_name, e)

Expand Down
Loading