Skip to content

Commit fdc16ea

Browse files
committed
Requeue after instance creation
1 parent 41fad11 commit fdc16ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/controller/incusmachine_controller.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ func (r *IncusMachineReconciler) reconcileNormal(ctx context.Context, cluster *c
322322
return ctrl.Result{}, fmt.Errorf("failed to create instance: %w", err)
323323
}
324324

325-
return ctrl.Result{}, nil
325+
return ctrl.Result{
326+
RequeueAfter: 10 * time.Second,
327+
}, nil
326328
}
327329

328330
func (r *IncusMachineReconciler) getBootstrapData(ctx context.Context, namespace string, dataSecretName string) (string, bootstrapv1.Format, error) {

0 commit comments

Comments
 (0)