src/pkg/ibex: fix dropped error (#907)
This commit is contained in:
parent
d6d588c5aa
commit
a20e19922e
|
@ -103,9 +103,10 @@ func (i *Ibex) do() error {
|
|||
|
||||
var req *http.Request
|
||||
var err error
|
||||
var bs []byte
|
||||
|
||||
if i.inValue != nil {
|
||||
bs, err := json.Marshal(i.inValue)
|
||||
bs, err = json.Marshal(i.inValue)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue