-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Updated discovery sensors module directory structure #2794
Conversation
trigger ci |
Auto-Deploy finished, Test PR at http://2794.ci.librenms.org or https://2794.ci.librenms.org |
👍 |
require 'includes/discovery/sensors/power.inc.php'; | ||
require 'includes/discovery/sensors/fanspeeds.inc.php'; | ||
require 'includes/discovery/sensors/charge.inc.php'; | ||
require 'includes/discovery/sensors/load.inc.php'; | ||
require 'includes/discovery/states.inc.php'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this should also be updated to the new sensors folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted. Updated.
trigger ci |
Auto-Deploy finished, Test PR at http://2794.ci.librenms.org or https://2794.ci.librenms.org |
1 similar comment
Auto-Deploy finished, Test PR at http://2794.ci.librenms.org or https://2794.ci.librenms.org |
Updated discovery sensors module directory structure
This has annoyed me for long enough now!
The includes/discovery/ directory should contain the core discovery files with all of the code relevant to those in sub directories. Before this change all sensors files were scattered within here, these have now been moved to includes/discovery/sensors/
Everything needed should be updated ok.