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
commit 68841d374aca81da3318afd9bcd8645bc779fbcf Author: Pasquale Congiusti <[email protected]> AuthorDate: Tue Jan 4 13:06:11 2022 +0100 fix: lint complains --- pkg/trait/kamelets.go | 1 - pkg/trait/mount.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/trait/kamelets.go b/pkg/trait/kamelets.go index 06d2122..1079dfc 100644 --- a/pkg/trait/kamelets.go +++ b/pkg/trait/kamelets.go @@ -254,7 +254,6 @@ 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 { diff --git a/pkg/trait/mount.go b/pkg/trait/mount.go index 3fc6b74..c0397b3 100644 --- a/pkg/trait/mount.go +++ b/pkg/trait/mount.go @@ -39,7 +39,7 @@ import ( type mountTrait struct { BaseTrait `property:",squash"` // A list of configuration pointing to configmap/secret. - // The configuration are expected to be ÙTF-8 resources as they are processed by runtime Camel Context and tried to be parsed as property files. + // The configuration are expected to be UTF-8 resources as they are processed by runtime Camel Context and tried to be parsed as property files. // They are also made available on the classpath in order to ease their usage directly from the Route. // Syntax: [configmap|secret]:name[key], where name represents the resource name and key optionally represents the resource key to be filtered Configs []string `property:"configs" json:"configs,omitempty"`
