From eae2e9ae2df4b315ed4218333fd2af79335f605e Mon Sep 17 00:00:00 2001 From: Zhiwei Huang Date: Mon, 9 Sep 2024 14:38:21 +0000 Subject: [PATCH] fix: Reduce duplicate scheme registrations Signed-off-by: Zhiwei Huang --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index d38faa42..c6e77a27 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,6 @@ func init() { log.Fatalf("cannot add model serving v1 scheme, %v", err) } _ = batchv1.AddToScheme(scheme) - _ = servingv1alpha1.AddToScheme(scheme) _ = v1beta1.AddToScheme(scheme) _ = v1alpha1.AddToScheme(scheme) _ = monitoringv1.AddToScheme(scheme)