From 7b19dc55b21b71e3804bbb2887c4d71fe5d08df7 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 16 Nov 2021 22:46:11 +0100 Subject: [PATCH] remove ineffectual assignment base var Kubernetes-commit: 98884f733a019ab991da29aaba3e42d89bf202ec --- pkg/runtime/serializer/streaming/streaming.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/runtime/serializer/streaming/streaming.go b/pkg/runtime/serializer/streaming/streaming.go index bdcbd91c0..971c46d49 100644 --- a/pkg/runtime/serializer/streaming/streaming.go +++ b/pkg/runtime/serializer/streaming/streaming.go @@ -90,7 +90,6 @@ func (d *decoder) Decode(defaults *schema.GroupVersionKind, into runtime.Object) } // must read the rest of the frame (until we stop getting ErrShortBuffer) d.resetRead = true - base = 0 //nolint:ineffassign return nil, nil, ErrObjectTooLarge } if err != nil {