Skip to content

Commit

Permalink
fix: Reduce duplicate scheme registrations
Browse files Browse the repository at this point in the history
Signed-off-by: Zhiwei Huang <[email protected]>
  • Loading branch information
hex2dec committed Sep 9, 2024
1 parent f8cc7aa commit eae2e9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eae2e9a

Please sign in to comment.