You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/07 17:17:40 UTC
[GitHub] [camel-k] astefanutti commented on a change in pull request #2993: fix(kamelet): reconcile when errored
astefanutti commented on a change in pull request #2993:
URL: https://github.com/apache/camel-k/pull/2993#discussion_r800881532
##########
File path: pkg/controller/kamelet/initialize.go
##########
@@ -38,7 +38,7 @@ func (action *initializeAction) Name() string {
}
func (action *initializeAction) CanHandle(kamelet *v1alpha1.Kamelet) bool {
- return kamelet.Status.Phase == v1alpha1.KameletPhaseNone
+ return kamelet.Status.Phase == v1alpha1.KameletPhaseNone || kamelet.Status.Phase == v1alpha1.KameletPhaseError
Review comment:
Thinking about this a little bit more, I'd be possibly better to add it to the `monitor` action, to be symmetrical with other controllers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org