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 5b0754b884708df30c0052cb8f7c3d8ce52994ae
Author: Nicola Ferraro <[email protected]>
AuthorDate: Wed Dec 11 17:32:25 2019 +0100

    Fix #1120: fix imports
---
 pkg/cmd/install.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go
index aa2510c..56f8c33 100644
--- a/pkg/cmd/install.go
+++ b/pkg/cmd/install.go
@@ -25,7 +25,7 @@ import (
 
        "github.com/apache/camel-k/pkg/util/registry"
        "go.uber.org/multierr"
-       v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+       metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
        "k8s.io/apimachinery/pkg/runtime"
 
        "github.com/apache/camel-k/deploy"
@@ -236,7 +236,7 @@ func (o *installCmdOptions) install(cobraCmd 
*cobra.Command, _ []string) error {
                                return err
                        }
 
-                       platform.Spec.Build.Timeout = &v1.Duration{
+                       platform.Spec.Build.Timeout = &metav1.Duration{
                                Duration: d,
                        }
                }

Reply via email to