Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Edward McFarlane <[email protected]>
  • Loading branch information
emcfarlane committed Oct 28, 2024
1 parent f0347c1 commit fda34d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ func TestSetParameter(t *testing.T) {
msg.Set(field, value)
return msg
}(),
}, {
fields: "double_list",
value: "1.234",
want: &testv1.ParameterValues{
DoubleList: []float64{1.234},
},
}, {
fields: "unknownField",
value: "hello",
Expand Down
2 changes: 1 addition & 1 deletion transcoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ func (w *envelopingWriter) maybeInit() {
var env envelope
env.compressed = w.rw.op.client.respCompression != nil
env.length = uint32(w.rw.contentLen)
envBytes := w.rw.op.clientEnveloper.encodeEnvelope(envelope{})
envBytes := w.rw.op.clientEnveloper.encodeEnvelope(env)
_, err := w.w.Write(envBytes[:])
if err != nil {
w.err = err
Expand Down

0 comments on commit fda34d8

Please sign in to comment.