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 <anto...@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
                }

Reply via email to