Skip to content

Boolean properties are not being overridden #545

Closed
@kim-tsao

Description

@kim-tsao

/kind bug

Which area this bug is related to?

/area api

What versions of software are you using?

N/A

Bug Summary

Describe the bug:

I have a main devfile that contains parent overrides but some properties (isDefault, hotReloadCapable) under the exec command do not get overridden. Similar observation for the parallel property under the composite command. I wonder if there's an issue with merging boolean properties

To Reproduce:

  1. Main devfile:
    Test_Parent1.yaml.zip

  2. Parent devfile:
    Parent1.yaml.zip

Expected behavior

properties should be overridden to false

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable.

Here is the result of the flattenedParent in debug mode:

image
image

Additional context

Any workaround?

Suggestion on how to fix the bug

Metadata

Metadata

Assignees

Labels

area/apiEnhancement or issue related to the api/devfile specificationkind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions