From 98884f733a019ab991da29aaba3e42d89bf202ec 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 --- .../apimachinery/pkg/runtime/serializer/streaming/streaming.go | 1 - 1 file changed, 1 deletion(-) diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go index bdcbd91c016..971c46d496a 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go +++ b/staging/src/k8s.io/apimachinery/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 {