Skip to content

Commit

Permalink
Don't wait for initial kit to be ready to declare the platform ready #…
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Jul 2, 2019
1 parent f9b35a4 commit 260f8dd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 90 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/camel/v1alpha1/integrationplatform_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ const (
IntegrationPlatformPhaseCreating IntegrationPlatformPhase = "Creating"
// IntegrationPlatformPhaseWarming --
IntegrationPlatformPhaseWarming IntegrationPlatformPhase = "Warming"
// IntegrationPlatformPhaseStarting --
IntegrationPlatformPhaseStarting IntegrationPlatformPhase = "Starting"
// IntegrationPlatformPhaseReady --
IntegrationPlatformPhaseReady IntegrationPlatformPhase = "Ready"
// IntegrationPlatformPhaseError --
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/integrationplatform/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (action *createAction) Handle(ctx context.Context, platform *v1alpha1.Integ
}
}

platform.Status.Phase = v1alpha1.IntegrationPlatformPhaseStarting
platform.Status.Phase = v1alpha1.IntegrationPlatformPhaseReady

return platform, nil
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ func (r *ReconcileIntegrationPlatform) Reconcile(request reconcile.Request) (rec
NewInitializeAction(),
NewWarmAction(),
NewCreateAction(),
NewStartAction(),
}

var targetPhase camelv1alpha1.IntegrationPlatformPhase
Expand Down
86 changes: 0 additions & 86 deletions pkg/controller/integrationplatform/start.go

This file was deleted.

0 comments on commit 260f8dd

Please sign in to comment.