fix ineffectual assignment to base var

This commit is contained in:
Antonio Ojea 2021-11-16 18:08:58 +01:00
parent b2971e7497
commit 31d45d000b

View File

@ -90,7 +90,7 @@ 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
base = 0 //nolint:ineffassign
return nil, nil, ErrObjectTooLarge
}
if err != nil {