You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2019/12/11 18:37:55 UTC
[camel-k] 05/08: Fix #1120: disable setting knative profile on spec
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 <ni...@gmail.com>
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
}