Skip to content

Commit

Permalink
fix(cspc): replace the spc label with cspc label (#1611)
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai authored Feb 11, 2020
1 parent d8f7977 commit dd61520
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 dd61520

Please sign in to comment.