From 92e254d5c20f6430c1bd258ec2ea555ecc4f992e Mon Sep 17 00:00:00 2001 From: AnikaAgiwal2711 <118799587+AnikaAgiwal2711@users.noreply.github.com> Date: Wed, 31 May 2023 11:24:57 +0530 Subject: [PATCH] fixed storage pool delete functionality (#66) --- storagepool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storagepool.go b/storagepool.go index 325e633..4e3f248 100644 --- a/storagepool.go +++ b/storagepool.go @@ -315,7 +315,7 @@ func (pd *ProtectionDomain) DisableRFCache(ID string) (string, error) { // DeleteStoragePool will delete a storage pool func (pd *ProtectionDomain) DeleteStoragePool(name string) error { // get the storage pool name - pool, err := pd.client.FindStoragePool("", name, "", "") + pool, err := pd.FindStoragePool("", name, "") if err != nil { return err }