Skip to content

Commit

Permalink
replica fix for SEB (#430)
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Tsao <[email protected]>
  • Loading branch information
kim-tsao authored Dec 8, 2023
1 parent db849d5 commit 2fc5811
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ func (r *SnapshotEnvironmentBindingReconciler) Reconcile(ctx context.Context, re

if component.Configuration.Replicas != nil {
genOptions.Replicas = *component.Configuration.Replicas
} else {
genOptions.Replicas = 1 //default is 1
}

if !reflect.DeepEqual(kubernetesResources, devfileParser.KubernetesResources{}) {
Expand Down

0 comments on commit 2fc5811

Please sign in to comment.