Closed bmcustodio closed 4 years ago
This makes me wonder whether people have been using gateway_invoke=true
, because it doesn't seem to be working at all as of the latest couple releases. 🤨
I'm not sure how many users update as frequently as Form3. I would have thought that I would have seen this though.
@alexellis if you agree with the changes, could you please get merge it and tag?
Thanks for raising this @bmcstdio
@jonatasbaldin this appears to be related to a patch you contributed around 3 months ago, please can you also take a look? https://github.com/openfaas/nats-queue-worker/commit/56df8a3bb77c6cc95446805a6aa46186e844ba66
/close
Thank you for the patch and for raising this @bmcstdio, let's take it through in #73 where I've been able to add some more guarding against unhandled errors.
Description
Currently,
gateway_invoke=true
causes the app to panic because...return
statement, which causes a nil-pointer dereference.Motivation and Context
N/A
How Has This Been Tested?
By building the image (
bmcstdio/openfaas-queue-worker:gateway-addr
), deploying it and making sure the behaviour is fixed.Types of changes
Checklist:
git commit -s