google-cloud-node icon indicating copy to clipboard operation
google-cloud-node copied to clipboard

v2.FunctionServiceClient listFunctions* not returning results when CloudFunctionsServiceClient does

Open jacobsandlund opened this issue 2 years ago • 1 comments

  1. Is this a client library issue or a product issue? Issue with the @google-cloud/functions npm package.

Environment details

  • OS: macOS
  • Node.js version: 16.13.2
  • npm version: 8.1.2
  • @google-cloud/functions version: 2.2.0

Steps to reproduce

  1. Use the example code from the README to listFunctions: it works!
  2. Switch CloudFunctionsServiceClient to v2.FunctionServiceClient, and now it is no longer returning any results. (for either listFunctions or listFunctionsAsync)

jacobsandlund avatar Aug 18 '22 19:08 jacobsandlund

Hi!

Thanks for raising this issue! I was able to recreate this behavior and it seems to be a problem with the API. I will raise this to the appropriate team and update this issue once resolved.

Thanks!

rogerthatdev avatar Aug 25 '22 23:08 rogerthatdev