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 1ba309150e991efd1cc6d9eb50e471d8e9191d9d Author: Nicola Ferraro <[email protected]> AuthorDate: Mon Dec 9 14:57:43 2019 +0100 Fix #1120: disable setting knative profile on spec --- pkg/install/operator.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/install/operator.go b/pkg/install/operator.go index d4b97c8..0d401ed 100644 --- a/pkg/install/operator.go +++ b/pkg/install/operator.go @@ -191,14 +191,6 @@ func PlatformOrCollect(ctx context.Context, c client.Client, clusterType string, } } - var knativeInstalled bool - if knativeInstalled, err = knative.IsInstalled(ctx, c); err != nil { - return nil, err - } - if knativeInstalled { - pl.Spec.Profile = v1alpha1.TraitProfileKnative - } - return pl, nil }
