mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-05 15:45:36 +00:00
fix ineffectual assignment to base var
This commit is contained in:
@@ -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)
|
// must read the rest of the frame (until we stop getting ErrShortBuffer)
|
||||||
d.resetRead = true
|
d.resetRead = true
|
||||||
base = 0
|
base = 0 //nolint:ineffassign
|
||||||
return nil, nil, ErrObjectTooLarge
|
return nil, nil, ErrObjectTooLarge
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user