Skip to content

Commit b09b61d

Browse files
committed
Fix lint error
1 parent e1dd927 commit b09b61d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (it *streamFrameIterator) Next() bool {
333333

334334
err = it.decoder.Decode(msg)
335335
if msg.Error != "" {
336-
it.err = fmt.Errorf(msg.Error)
336+
it.err = fmt.Errorf("%s", msg.Error)
337337
return false
338338
}
339339
if err == nil {

0 commit comments

Comments
 (0)