Plugins: Use plugin.pluginDir as source of truth for plugin location (#36711)

* use plugin.pluginDir as source of truth for plugin location

* correct the interface
This commit is contained in:
Will Browne
2021-07-15 09:08:25 +02:00
committed by GitHub
parent e82f8dbef9
commit 94688be398
4 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -697,7 +697,7 @@ func (f *fakePluginInstaller) Install(ctx context.Context, pluginID, version, pl
return nil
}
func (f *fakePluginInstaller) Uninstall(ctx context.Context, pluginID, pluginPath string) error {
func (f *fakePluginInstaller) Uninstall(ctx context.Context, pluginPath string) error {
f.uninstallCount++
return nil
}