Skip to content

Commit

Permalink
fix ineffectual assignment to base var
Browse files Browse the repository at this point in the history
Kubernetes-commit: 31d45d000b83f982476d175a4e8a13d97cf95def
  • Loading branch information
Antonio Ojea authored and k8s-publishing-bot committed Nov 16, 2021
1 parent 15e61a1 commit c3a9c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runtime/serializer/streaming/streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c3a9c93

Please sign in to comment.