Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

core/app_build: Fix panic where Waypoint plugin missing AccessInfoFunc #2532

Merged
merged 6 commits into from
Oct 21, 2021

Conversation

briancain
Copy link
Member

This pull request fixes an issue where a compiled Waypoint plugin fails to
register an AccessInfoFunc(). Instead of directly passing nil, causing a
panic during build, we look to see if the function is defined first. If
not, return the proper errors.

This commit fixes an issue where a compiled Waypoint plugin fails to
register an AccessInfoFunc(). Instead of directly passing nil, causing a
panic during build, we look to see if the function is defined first. If
not, return the proper errors.
@briancain
Copy link
Member Author

Need to fix the tests

internal/core/app_build.go Outdated Show resolved Hide resolved
Registries aren't required to have access info funcs, so remove this
check and try the build anyway
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants