From 5de60655cd7172d6c153283489ebd361c26a5819 Mon Sep 17 00:00:00 2001 From: Rongxiang Song Date: Mon, 8 Oct 2018 17:52:13 +0800 Subject: [PATCH] Add canonical import paths to storage packages The comment will ensure that only imports with this path will compile.This is needed to make sure that the vanity url k8s.io is used as the import path instead of github.com. See https://golang.org/doc/go1.4#canonicalimports for more details. --- pkg/apis/storage/v1/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/storage/v1/doc.go b/pkg/apis/storage/v1/doc.go index 4019b756571..d46a103b9a6 100644 --- a/pkg/apis/storage/v1/doc.go +++ b/pkg/apis/storage/v1/doc.go @@ -20,4 +20,4 @@ limitations under the License. // +k8s:defaulter-gen=TypeMeta // +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/storage/v1 -package v1 +package v1 // import "k8s.io/kubernetes/pkg/apis/storage/v1"