From e4423050c54acbf02453d24fa8ca328ef504aa65 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 3 Nov 2016 23:46:27 -0400 Subject: [PATCH] Add canonical import paths Should warn if not using the vanity alias (k8s.io/kops) for an import. --- cmd/kops/main.go | 2 +- cmd/nodeup/main.go | 2 +- doc.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/kops/main.go b/cmd/kops/main.go index a2ff434182..41c25ee7de 100644 --- a/cmd/kops/main.go +++ b/cmd/kops/main.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package main +package main // import "k8s.io/kops/cmd/kops" import ( "fmt" diff --git a/cmd/nodeup/main.go b/cmd/nodeup/main.go index 2288f137dc..996aa8fe79 100644 --- a/cmd/nodeup/main.go +++ b/cmd/nodeup/main.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package main +package main // import "k8s.io/kops/cmd/nodeup" import ( "flag" diff --git a/doc.go b/doc.go index c9d5506164..5abf8fb899 100644 --- a/doc.go +++ b/doc.go @@ -15,4 +15,4 @@ limitations under the License. */ // Package kops is the parent package for the kops kubernetes-ops tool.. -package kops +package kops // import "k8s.io/kops"