From a6b75a2fd5b45b5185d9498feba324a6b96706f3 Mon Sep 17 00:00:00 2001 From: Avesh Agarwal Date: Sun, 6 Aug 2017 16:02:13 -0400 Subject: [PATCH] Fix compilation issue by importing time. --- pkg/api/types.go | 2 -- pkg/api/v1alpha1/types.go | 2 -- pkg/apis/componentconfig/types.go | 2 ++ pkg/apis/componentconfig/v1alpha1/types.go | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/api/types.go b/pkg/api/types.go index 2b229c9eb..f71c3dc8d 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -17,8 +17,6 @@ limitations under the License. package api import ( - "time" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/api/v1" ) diff --git a/pkg/api/v1alpha1/types.go b/pkg/api/v1alpha1/types.go index 20b002458..ed31cb3a9 100644 --- a/pkg/api/v1alpha1/types.go +++ b/pkg/api/v1alpha1/types.go @@ -17,8 +17,6 @@ limitations under the License. package v1alpha1 import ( - "time" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/api/v1" ) diff --git a/pkg/apis/componentconfig/types.go b/pkg/apis/componentconfig/types.go index d909a7ad1..1e4146bc4 100644 --- a/pkg/apis/componentconfig/types.go +++ b/pkg/apis/componentconfig/types.go @@ -17,6 +17,8 @@ limitations under the License. package componentconfig import ( + "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/apis/componentconfig/v1alpha1/types.go b/pkg/apis/componentconfig/v1alpha1/types.go index 4472e0e8a..14be7136b 100644 --- a/pkg/apis/componentconfig/v1alpha1/types.go +++ b/pkg/apis/componentconfig/v1alpha1/types.go @@ -17,6 +17,8 @@ limitations under the License. package v1alpha1 import ( + "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" )