Fix fix imports
@@ -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,
}
}
