Plugins: Perform plugin update check prior to uninstall (#36909)
* only uninstall if update is possible * add . * update lingo for clarity
This commit is contained in:
@@ -702,6 +702,10 @@ func (f *fakePluginInstaller) Uninstall(ctx context.Context, pluginPath string)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (f *fakePluginInstaller) GetUpdateInfo(pluginID, version, pluginRepoURL string) (plugins.UpdateInfo, error) {
|
||||
return plugins.UpdateInfo{}, nil
|
||||
}
|
||||
|
||||
func createManager(t *testing.T, cbs ...func(*PluginManager)) *PluginManager {
|
||||
t.Helper()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user