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.
This commit is contained in:
Rongxiang Song 2018-10-08 17:52:13 +08:00
parent a29b093a56
commit 5de60655cd

View File

@ -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"