remove unused FindCreatablePluginBySpec

This commit is contained in:
carlory
2024-05-13 11:04:17 +08:00
parent 925cb2be30
commit 568e580442
3 changed files with 1 additions and 21 deletions

View File

@@ -720,11 +720,6 @@ func TestUnsupportedPlugins(t *testing.T) {
t.Errorf("Attachable plugin found, expected none")
}
createPlug, err := plugMgr.FindCreatablePluginBySpec(spec)
if err == nil && createPlug != nil {
t.Errorf("Creatable plugin found, expected none")
}
provisionPlug, err := plugMgr.FindProvisionablePluginByName(localVolumePluginName)
if err == nil && provisionPlug != nil {
t.Errorf("Provisionable plugin found, expected none")