You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/08/30 14:09:59 UTC

[camel-k] branch main updated: fix: Panic with odd number of key / value arguments

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


The following commit(s) were added to refs/heads/main by this push:
     new 95e012339 fix: Panic with odd number of key / value arguments
95e012339 is described below

commit 95e012339542cdcc5bdeef466476cb5049241b05
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Aug 30 12:33:52 2022 +0200

    fix: Panic with odd number of key / value arguments
---
 pkg/trait/trait_catalog.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/trait_catalog.go b/pkg/trait/trait_catalog.go
index f706fa959..807bd4055 100644
--- a/pkg/trait/trait_catalog.go
+++ b/pkg/trait/trait_catalog.go
@@ -97,7 +97,7 @@ func (c *Catalog) apply(environment *Environment) error {
 	applicable := false
 	for _, trait := range traits {
 		if environment.Platform == nil && trait.RequiresIntegrationPlatform() {
-			c.L.Debug("Skipping trait because of missing integration platform: %s", trait.ID())
+			c.L.Debugf("Skipping trait because of missing integration platform: %s", trait.ID())
 
 			continue
 		}