From c79cb6c84dcbfefbc3de6de62f1fec356af71826 Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Wed, 18 Mar 2020 14:00:59 -0600 Subject: [PATCH] Fix more lint issues --- pkg/gen/schema.go | 1 + pkg/gen/typegen.go | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/gen/schema.go b/pkg/gen/schema.go index 7f8d1c20b7..f4fc5570ac 100644 --- a/pkg/gen/schema.go +++ b/pkg/gen/schema.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//nolint: goconst package gen import ( diff --git a/pkg/gen/typegen.go b/pkg/gen/typegen.go index 418dede478..cb7cf7a370 100644 --- a/pkg/gen/typegen.go +++ b/pkg/gen/typegen.go @@ -43,10 +43,6 @@ const ( pyAnyT = "Any" ) -const ( - apiRegistration = "apiregistration.k8s.io" -) - // -------------------------------------------------------------------------- // A collection of data structures and utility functions to transform an OpenAPI spec for the