mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
fix ineffectual assignment to base var
This commit is contained in:
parent
b2971e7497
commit
31d45d000b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user