Skip to content

Commit

Permalink
fix(cspc): replace the spc label with cspc label (openebs-archive#1611)
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai committed Feb 11, 2020
1 parent 4af590f commit b225012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cspc-operator/app/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b225012

Please sign in to comment.