remove ineffectual assignment base var

This commit is contained in:
Antonio Ojea 2021-11-16 22:46:11 +01:00
parent f143d1b2cd
commit 98884f733a

View File

@ -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 {