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

Unable to override disabled option #177

Closed
Invizory opened this issue Apr 18, 2024 · 1 comment
Closed

Unable to override disabled option #177

Invizory opened this issue Apr 18, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@Invizory
Copy link

Invizory commented Apr 18, 2024

Defect

“Adding and overriding configuration” section in the documentation states:

For single-value options like command, working_dir or disabled, the new value replaces the old value.

However, the old value of disabled is not actually replaced if the new value is false.

Version of process-compose:

1.2.0

OS environment:

Ubuntu 22.04.4 LTS

Steps or code to reproduce the issue:

process-compose.yml:

version: "0.5"
processes:
  test:
    disabled: true
    command: echo foo

process-compose.override.yml:

processes:
  test:
    disabled: false
    command: echo bar

Run process-compose run test.

Expected result:

bar

Actual result:

@F1bonacc1
Copy link
Owner

Hi @Invizory,

This is the expected behavior.
See: darccio/mergo#24 (comment)

@F1bonacc1 F1bonacc1 added the wontfix This will not be worked on label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants