This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 b21d3af chore(ci): revert nolint
b21d3af is described below
commit b21d3afc4e76cebc272c18eaa6773bfb04773f63
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Feb 15 15:36:43 2022 +0100
chore(ci): revert nolint
---
pkg/trait/kamelets.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/pkg/trait/kamelets.go b/pkg/trait/kamelets.go
index ec5b7ad..a5c1c93 100644
--- a/pkg/trait/kamelets.go
+++ b/pkg/trait/kamelets.go
@@ -254,6 +254,7 @@ func (t *kameletsTrait) configureApplicationProperties(e
*Environment) error {
func (t *kameletsTrait) addKameletAsSource(e *Environment, kamelet
*v1alpha1.Kamelet) error {
sources := make([]v1.SourceSpec, 0)
+ // nolint: staticcheck
if kamelet.Spec.Template != nil || kamelet.Spec.Flow != nil {
template := kamelet.Spec.Template
if template == nil {