Mark current linting errors as non-errors
This is basically claiming linting bankruptcy. It marks all of the issues we had up until this point as nolint.
This commit is contained in:
@@ -28,7 +28,7 @@ type PodListerFunc func(context.Context) ([]*v1.Pod, error)
|
||||
|
||||
func HandleRunningPods(getPods PodListerFunc) http.HandlerFunc {
|
||||
scheme := runtime.NewScheme()
|
||||
v1.SchemeBuilder.AddToScheme(scheme)
|
||||
v1.SchemeBuilder.AddToScheme(scheme) //nolint:errcheck
|
||||
codecs := serializer.NewCodecFactory(scheme)
|
||||
|
||||
return handleError(func(w http.ResponseWriter, req *http.Request) error {
|
||||
|
||||
Reference in New Issue
Block a user