mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Use appropriate query for route updating
This commit is contained in:
@@ -407,7 +407,7 @@ func (ds *sqlStore) UpdateRoute(ctx context.Context, newroute *models.Route) (*m
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
res, err := tx.ExecContext(ctx, ds.updateAppQuery,
|
res, err := tx.ExecContext(ctx, ds.updateRouteQuery,
|
||||||
route.Image,
|
route.Image,
|
||||||
route.Format,
|
route.Format,
|
||||||
route.Memory,
|
route.Memory,
|
||||||
|
|||||||
Reference in New Issue
Block a user