Open rm3l opened 1 year ago
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
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 https://github.com/redhat-developer/odo/issues/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:
child devfile:
parent devfile:
Trying to parse the child devfile results in a panic:
Expected behavior
Successful parsing with correct attribute overridden.
Any workaround?