You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/04/29 13:12:37 UTC
[camel-k] 23/30: refactor(controller): error handler useless uri
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 2f621da116d86429e3a52c8748171919b68c5819
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Apr 27 10:52:21 2021 +0200
refactor(controller): error handler useless uri
---
pkg/controller/kameletbinding/error_handler.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pkg/controller/kameletbinding/error_handler.go b/pkg/controller/kameletbinding/error_handler.go
index 1d71683..5325324 100644
--- a/pkg/controller/kameletbinding/error_handler.go
+++ b/pkg/controller/kameletbinding/error_handler.go
@@ -41,9 +41,8 @@ func maybeErrorHandler(errHandlConf v1alpha1.ErrorHandlerSpec, bindingContext bi
return nil, errors.Wrap(err, "could not determine error handler URI")
}
} else {
- // Create a new binding otherwise in order to store application properties
+ // Create a new binding otherwise in order to store error handler application properties
errorHandlerBinding = &bindings.Binding{
- URI: "error-handler",
ApplicationProperties: make(map[string]string),
}
}