summaryrefslogtreecommitdiffstats
path: root/daemon/common.h
diff options
context:
space:
mode:
authorPaul Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com>2019-03-05 10:10:09 +0000
committerGitHub <noreply@github.com>2019-03-05 10:10:09 +0000
commitb812d23e32c858e5ef9cb1b4965e49aee8a97a74 (patch)
tree7d15070d0f47f2e3e384f5c0448e3e1c6dc3a92c /daemon/common.h
parent8ac48ec2827bd42f7a4bfa23b63ac21e0f5335f9 (diff)
Minor fixes around plugin_directories initialization (#5536)
* Daemon minor cleanups: 1) pull in plugin directories logic, inside the pluginsd where it belongs and call a method from the daemon to do so, 2) Magic numbers are evil, give a meaningful definition for that plugin directories retrieval * Rename netdata_configured_plugins_dir -> netdata_configured_primary_plugins_dir. We allow multiple plugin directories and this is actually the primary (or stock?) directory, just make it clear to avoid confusion * In this new wrapper, just return whatever the string splitter would return * Reduce the scope - consider moving this to somewhere else in a common place if needed by other modules later
Diffstat (limited to 'daemon/common.h')
-rw-r--r--daemon/common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/common.h b/daemon/common.h
index d1172ad8d1..d688d28286 100644
--- a/daemon/common.h
+++ b/daemon/common.h
@@ -70,8 +70,7 @@ extern char *netdata_configured_hostname;
extern char *netdata_configured_user_config_dir;
extern char *netdata_configured_stock_config_dir;
extern char *netdata_configured_log_dir;
-extern char *netdata_configured_plugins_dir_base;
-extern char *netdata_configured_plugins_dir;
+extern char *netdata_configured_primary_plugins_dir;
extern char *netdata_configured_web_dir;
extern char *netdata_configured_cache_dir;
extern char *netdata_configured_varlib_dir;