diff --git a/cmd/cspc-operator/app/handler.go b/cmd/cspc-operator/app/handler.go index 0917d8b90f..6af83709eb 100644 --- a/cmd/cspc-operator/app/handler.go +++ b/cmd/cspc-operator/app/handler.go @@ -332,7 +332,7 @@ func (pc *PoolConfig) removeCSPCFinalizer() error { } cspList, err := apiscsp.NewKubeClient().List(metav1.ListOptions{ - LabelSelector: string(apis.StoragePoolClaimCPK) + "=" + pc.AlgorithmConfig.CSPC.Name, + LabelSelector: string(apis.CStorPoolClusterCPK) + "=" + pc.AlgorithmConfig.CSPC.Name, }) if len(cspList.Items) > 0 {