Removing unnecessary err check.

This commit is contained in:
pvito
2022-07-11 10:47:04 +02:00
parent 5c297accd3
commit cf6651771b

View File

@@ -218,10 +218,6 @@ func (a *actuator) ReconcileClusterInFleetManager(ctx context.Context, namespace
a.logger.Info("Checking if the fleet cluster already exists")
// Check whether we already have an existing cluster
_, err := a.getFleetManager(cluster).GetCluster(ctx, buildCrdName(cluster))
if err != nil {
a.logger.Error(err, "Could not fetch fleet cluster")
//return err
}
// We cannot find the cluster because of an unknown error
if err != nil && !errors.IsNotFound(err) {