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

fix: prevent container functions from being processed as Go handlers #58

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

iruca3
Copy link
Contributor

@iruca3 iruca3 commented Jul 30, 2024

related to #54

Changes

Fixed an issue where containerized functions were incorrectly treated as Go handlers. This fix ensures that container functions are properly identified and no longer processed as Go handlers.

Issue Details

During deployment or packaging, containerized functions were sometimes mistakenly treated as Go handlers. This resulted in handlers being undefined, causing the go build command to fail and generate errors.

Testing

In the test environment, the go build command is not actually executed, so the error does not reproduce. However, in the production environment, the go build command fails and generates errors.

This commit addresses the issue where containerized functions were
incorrectly handled as Go handlers during the deploy/package process.
The fix ensures that container functions are appropriately identified
and processed separately.
index.js Show resolved Hide resolved
@mthenw
Copy link
Owner

mthenw commented Jul 30, 2024

Thank you for that!

@mthenw mthenw merged commit 949f5e9 into mthenw:master Jul 30, 2024
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