Skip to content

Commit

Permalink
runtime: fix dropped error
Browse files Browse the repository at this point in the history
Fixes: #212

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
  • Loading branch information
alrs committed Apr 24, 2021
1 parent 8587e3a commit fc6bb01
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -372,6 +372,9 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
return
}
_, err = (*f).Write(b)
if err != nil {
return
}
_, err = (*f).Seek(0, io.SeekStart)
return
}
Expand Down

0 comments on commit fc6bb01

Please sign in to comment.