Skip to content

Commit

Permalink
remove ineffectual assignment base var
Browse files Browse the repository at this point in the history
Kubernetes-commit: 98884f733a019ab991da29aaba3e42d89bf202ec
  • Loading branch information
Antonio Ojea authored and k8s-publishing-bot committed Nov 16, 2021
1 parent c6fa79a commit 7b19dc5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/runtime/serializer/streaming/streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7b19dc5

Please sign in to comment.