This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 49e8fdb2ebbfa936128453e8b3b49e2f433e73f7
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Mon Jan 9 14:46:21 2023 +0100

    fix: Add missing inline JSON tags
---
 pkg/apis/camel/v1alpha1/error_handler_types.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkg/apis/camel/v1alpha1/error_handler_types.go 
b/pkg/apis/camel/v1alpha1/error_handler_types.go
index 0fac0564a..52a32e60a 100644
--- a/pkg/apis/camel/v1alpha1/error_handler_types.go
+++ b/pkg/apis/camel/v1alpha1/error_handler_types.go
@@ -28,17 +28,17 @@ const (
 
 // ErrorHandlerSpec represents an unstructured object for an error handler
 type ErrorHandlerSpec struct {
-       RawMessage `json:",omitempty"`
+       RawMessage `json:",inline,omitempty"`
 }
 
 // ErrorHandlerParameters represent an unstructured object for error handler 
parameters
 type ErrorHandlerParameters struct {
-       RawMessage `json:",omitempty"`
+       RawMessage `json:",inline,omitempty"`
 }
 
 // BeanProperties represent an unstructured object properties to be set on a 
bean
 type BeanProperties struct {
-       RawMessage `json:",omitempty"`
+       RawMessage `json:",inline,omitempty"`
 }
 
 // ErrorHandlerType a type of error handler (ie, sink)

Reply via email to