-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Invalid memory generating openapi #1480
Comments
@eguzki This line in your output is suspicious:
What is the output of running |
I installed Go following usual steps
I do not have
However:
|
Setting up
With some weird warning, though, about
anyway, this is fine because openapi validation yaml is generated for that package |
@joelanford yes this is the error #1401 fixes. |
@eguzki that is quite strange, since you should not need to set |
The command is working if I any of these actions are performed, failing otherwise:
I am not using multiple Go versions. It is no longer a blocking issue. Just an issue for you to know. Thanks @joelanford @estroz |
@eguzki Closing as you found the solution and we haven't seen anyone else run into it. Feel free to open a new issue if you run into any other problems. Thanks! |
Bug Report
What did you do?
Trying to generate openapi validation of CRD's, with
GO111MODULE
env var set toon
, then I got invalid memory error:Unsetting
GO111MODULE
, then command worksWhat did you expect to see?
Same output when
GO111MODULE
is unsetWhat did you see instead? Under which circumstances?
Environment
Kubernetes cluster kind: Openshift 3.11
Are you writing your operator in ansible, helm, or go?
go
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: