Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
remove check dc from CC object (for mutli-cluster)
Browse files Browse the repository at this point in the history
  • Loading branch information
erdrix committed Feb 5, 2020
1 parent 619c04b commit 5733755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/cassandracluster/pod_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,9 @@ func (rcc *ReconcileCassandraCluster) runRebuild(hostName string, cc *api.Cassan

if labelSet != true {
err = errors.New("operation-argument is needed to get the datacenter name to rebuild from")
} else if cc.IsValidDC(rebuildFrom) == false {
/*} else if cc.IsValidDC(rebuildFrom) == false {
err = fmt.Errorf("%s is not an existing datacenter", rebuildFrom)
}
}*/

// In case of an error set the status on the pod and skip it
if err != nil {
Expand Down

0 comments on commit 5733755

Please sign in to comment.