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(jsonnet): import "tk" panic #290

Merged
merged 1 commit into from
Jun 9, 2020
Merged

fix(jsonnet): import "tk" panic #290

merged 1 commit into from
Jun 9, 2020

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Jun 9, 2020

jsonnet.Importer requires us to return the same jsonnet.Contents
each time the same path is imported.

Before, we returned a different jsonnet.Contents instance instead,
which the VM noticed and panics.

`jsonnet.Importer` requires us to return the same `jsonnet.Contents`
each time the same path is imported.

Before, we returned a different `jsonnet.Contents` instance instead,
which the VM noticed and panics.
@sh0rez sh0rez added kind/bug Something isn't working component/jsonnet Everything regarding the jsonnet language labels Jun 9, 2020
@sh0rez sh0rez merged commit eeff531 into master Jun 9, 2020
@sh0rez sh0rez deleted the tk-import branch June 9, 2020 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/jsonnet Everything regarding the jsonnet language kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants