bbl opened a new pull request #7322:
URL: https://github.com/apache/pulsar/pull/7322
Fixes #7267
### Motivation
As described in the original issue, whenever you're trying to `localrun` or
`create` a golang function - the process port is set to 0. This leads to health
checks errors.
### Modifications
The original method that returns golang cmd arguments didn't use the `port`
variable
from the instanceConfig parameter.
This is a one-line modification that fixes the problem.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
- [x] This change is a trivial rework without any test coverage.
### Does this pull request potentially affect one of the following parts:
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (yes, it fixes the creation/localrun
of golang functions)
### Documentation
- Does this pull request introduce a new feature? (no)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]