This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 7de58ca6a3ed33006fbf2450f7edfa28413ec51d Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Tue Dec 18 10:18:26 2018 +0100 fix typo --- pkg/builder/builder_steps.go | 2 +- pkg/builder/builder_types.go | 2 +- pkg/builder/springboot/initializer.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/builder/builder_steps.go b/pkg/builder/builder_steps.go index 8799d58..b50fb9b 100644 --- a/pkg/builder/builder_steps.go +++ b/pkg/builder/builder_steps.go @@ -246,7 +246,7 @@ func ListPublishedImages(context *Context) ([]PublishedImage, error) { if ctx.Status.Phase != v1alpha1.IntegrationContextPhaseReady || ctx.Labels == nil { continue } - if context.ContextFiler != nil && !context.ContextFiler(&ctx) { + if context.ContextFilter != nil && !context.ContextFilter(&ctx) { continue } if ctxType, present := ctx.Labels["camel.apache.org/context.type"]; !present || ctxType != v1alpha1.IntegrationContextTypePlatform { diff --git a/pkg/builder/builder_types.go b/pkg/builder/builder_types.go index 89e2e86..d0e13b4 100644 --- a/pkg/builder/builder_types.go +++ b/pkg/builder/builder_types.go @@ -147,7 +147,7 @@ type Context struct { Artifacts []v1alpha1.Artifact SelectedArtifacts []v1alpha1.Artifact Archive string - ContextFiler func(integrationContext *v1alpha1.IntegrationContext) bool + ContextFilter func(integrationContext *v1alpha1.IntegrationContext) bool } // HasRequiredImage -- diff --git a/pkg/builder/springboot/initializer.go b/pkg/builder/springboot/initializer.go index 1add06e..d8e18f5 100644 --- a/pkg/builder/springboot/initializer.go +++ b/pkg/builder/springboot/initializer.go @@ -27,7 +27,7 @@ func Initialize(ctx *builder.Context) error { // do not take into account any image that does not have spring-boot // as required dependency to avoid picking up a base image with wrong // classpath or layout - ctx.ContextFiler = func(context *v1alpha1.IntegrationContext) bool { + ctx.ContextFilter = func(context *v1alpha1.IntegrationContext) bool { for _, i := range context.Spec.Dependencies { if i == "runtime:spring" { return true