mirror of
https://github.com/harness/drone.git
synced 2025-05-03 22:50:07 +08:00
store/card: fix dropped error (#3300)
This commit is contained in:
parent
3091e3916b
commit
fdf51e70b2
@ -62,6 +62,9 @@ func (c cardStore) Create(ctx context.Context, step int64, r io.Reader) error {
|
|||||||
Data: data,
|
Data: data,
|
||||||
}
|
}
|
||||||
params, err := toParams(in)
|
params, err := toParams(in)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
stmt, args, err := binder.BindNamed(stmtInsert, params)
|
stmt, args, err := binder.BindNamed(stmtInsert, params)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user