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

log plugin name at registration; remove override of getName() method #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

macfarla
Copy link
Contributor

unique plugin names are required for identification purposes. These plugins were all named "linea" which made it impossible to differentiate between them using name.

when calling plugins_reloadPluginConfig the name specified must match the getName() value so it must be unique for this function to be available.

@macfarla macfarla mentioned this pull request Oct 14, 2024
log.info(
"Registering Linea plugin of type {} with name {}",
this.getClass().getName(),
this.getName());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if plugin name == class name this extra logging is not needed

Copy link
Contributor

@fab-10 fab-10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense to just use the class name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants