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 2734d1d50e0406c10905d18caa2ad7f197f90d8b
Author: Doru Bercea <gheorghe-teod.ber...@ibm.com>
AuthorDate: Tue Oct 20 13:45:45 2020 -0400

    Use default runtime version.
---
 pkg/cmd/inspect.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/cmd/inspect.go b/pkg/cmd/inspect.go
index 123043d..f7083a3 100644
--- a/pkg/cmd/inspect.go
+++ b/pkg/cmd/inspect.go
@@ -26,6 +26,7 @@ import (
        "github.com/apache/camel-k/pkg/trait"
        "github.com/apache/camel-k/pkg/util"
        "github.com/apache/camel-k/pkg/util/camel"
+       "github.com/apache/camel-k/pkg/util/defaults"
        "github.com/apache/camel-k/pkg/util/maven"
        "github.com/scylladb/go-set/strset"
        "github.com/spf13/cobra"
@@ -164,7 +165,7 @@ func generateCatalog() (*camel.RuntimeCatalog, error) {
                LocalRepository: "",
        }
        runtime := v1.RuntimeSpec{
-               Version:  "1.3.0",
+               Version:  defaults.DefaultRuntimeVersion,
                Provider: v1.RuntimeProviderMain,
        }
        providerDependencies := []maven.Dependency{}

Reply via email to