-
Notifications
You must be signed in to change notification settings - Fork 65
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
Library panics when child devfile overrides parent with list attribute #1268
Comments
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days. |
+1 |
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days. |
ping |
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
pong |
/lifecycle frozen Going to freeze the lifecycle of this issue for reviewing in the new year, due to the effect this bug is having. |
/lifecycle frozen |
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area api
/area library
What versions of software are you using?
Bug Summary
Issue originally reported in redhat-developer/odo#7099
To Reproduce:
See repro repo here: https://github.com/AgentK9/devfile-override-bug
They tried to run
odo dev
on their Devfile, but had this panic. I also reproduced the same issue with the latest version of the library.I thought it was related to pod-overrides attributes, but in fact, the same error happens with any other attribute name, as long as it is a list.
In a nutshell:
Trying to parse the child devfile results in a panic:
Expected behavior
Successful parsing with correct attribute overridden.
Any workaround?
The text was updated successfully, but these errors were encountered: