Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse funcRef refName correctly #35

Conversation

jjrodenburg
Copy link

@jjrodenburg jjrodenburg commented Jul 12, 2021

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:
When parsing the workflow, function.go sets the refname to a hardcoded "refName" string. This skips any refName set in the YAML/JSON.

Instead, we should use the available funcRef map to grab the "refName" value.

Special notes for reviewers:

Additional information (if needed):
Co-PR with @VicNgu

Signed-off-by: Jort Rodenburg <jort.rodenburg@acronis.com>
@jjrodenburg jjrodenburg force-pushed the CorrectlyParseFunctionRefRefName branch from 078d0a3 to fa8d827 Compare July 12, 2021 17:49
@ricardozanini ricardozanini merged commit 05c78be into serverlessworkflow:main Jul 13, 2021
@jjrodenburg jjrodenburg deleted the CorrectlyParseFunctionRefRefName branch July 13, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants