meltano: Bug: several empty keys are added when the last top-level key is removed via the CLI
IN https://github.com/meltano/meltano/pull/6308 I found that if you have an additional meltano.yml file like so:
# schedules.meltano.yml
schedules:
- name: run_github_commits
interval: '@daily'
job: github_data
If you remove that schedule via the CLI that file will look like:
# schedules.meltano.yml
plugins: {}
schedules: []
jobs: []
environments: []
This isn’t ideal because the diff can be confusing. Functionally it’s fine, but I’d expect either the final file to either be schedules: []
or just blank.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (6 by maintainers)
@aaronsteers yes, this is low priority and in the product backlog.
@aaronsteers this only happens in included files when all top-level shared keys (
environments
,schedules
,jobs
,plugins
) are left empty after an operation.