Skip to content

Commit c529470

Browse files
committed
fix: log line and resolve files error
1 parent 1ec1610 commit c529470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap/eks/controllers/eksconfig_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ func (r *EKSConfigReconciler) joinWorker(ctx context.Context, cluster *clusterv1
229229
log.Info("Generating userdata")
230230
files, err := r.resolveFiles(ctx, config)
231231
if err != nil {
232-
log.Info("Control Plane has not yet been initialized")
232+
log.Info("Failed to resolve files for user data")
233233
conditions.MarkFalse(config, eksbootstrapv1.DataSecretAvailableCondition, eksbootstrapv1.DataSecretGenerationFailedReason, clusterv1.ConditionSeverityWarning, err.Error())
234-
return ctrl.Result{}, nil
234+
return ctrl.Result{}, err
235235
}
236236

237237
nodeInput := &userdata.NodeInput{

0 commit comments

Comments
 (0)