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 d7384cfae775597b67e878f317a61d296ae5224c
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Mon Aug 30 16:39:38 2021 +0200

    fix(native): Fix comparable trait configuration unmarshaling
---
 pkg/controller/integration/build_kit.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/controller/integration/build_kit.go 
b/pkg/controller/integration/build_kit.go
index 8740cb0..ff396dd 100644
--- a/pkg/controller/integration/build_kit.go
+++ b/pkg/controller/integration/build_kit.go
@@ -298,7 +298,7 @@ func (action *buildKitAction) hasComparableTrait(c 
trait.ComparableTrait, itTrai
        if err != nil {
                return false, err
        }
-       err = json.Unmarshal(data, &it)
+       err = json.Unmarshal(data, &kt)
        if err != nil {
                return false, err
        }

Reply via email to