mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
runtime: fix dropped error
Fixes: #212 Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
parent
8587e3a00b
commit
fc6bb01a7f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user