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

one query for processor plugin loading #275

Closed
Steven086 opened this issue Jun 14, 2017 · 1 comment
Closed

one query for processor plugin loading #275

Steven086 opened this issue Jun 14, 2017 · 1 comment
Labels
Milestone

Comments

@Steven086
Copy link

It seems that Dkron can not get any plugin placed in /etc/dkron/plugins. Please check the following two lines of codes in the file plugns.go:

line 31: processors, err := plugin.Discover("dkron-processor-", filepath.Join("/etc", "dkron", "plugins"))
line 42: **processors, err = plugin.Discover("dkron-processor-
", filepath.Dir(exePath))**

I think processors can be filled only with files in exePath at last ...

Thanks

@vcastellm vcastellm added this to the v0.9.5 milestone Jun 27, 2017
@vcastellm vcastellm added the bug label Jun 27, 2017
@vcastellm vcastellm modified the milestones: v0.9.6, v0.9.5 Sep 12, 2017
@vcastellm vcastellm modified the milestones: v0.9.6, v0.10.0 Apr 25, 2018
vcastellm pushed a commit that referenced this issue May 3, 2018
@vcastellm
Copy link
Member

Fixed in a64ad1c

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

No branches or pull requests

2 participants