mirror of
https://github.com/ysoftdevs/gardener-extension-shoot-fleet-agent.git
synced 2026-01-11 14:30:39 +01:00
Removing unnecessary err check.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user