Bug: several empty keys are added when the last top-level key is removed via the CLI
See original GitHub issueIN 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.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Common validation errors when creating issue forms
The error can be fixed by correcting the value to be a non-empty string. If the field is not required, you should delete...
Read more >NEAR CLI | NEAR Documentation - NEAR docs
The NEAR Command Line Interface (CLI) is a tool that enables to interact with the NEAR network directly from the shell. Among other...
Read more >CLI Interface - cloud-init 22.4.2 documentation
This executes cloud config Module Reference configured to run in the init, config and final stages. The modules are declared to run in...
Read more >Each child in an array or iterator should have a unique "key ...
Keys help React identify which items have changed, are added, or are removed. Keys should be given to the elements inside the array...
Read more >Removing Invalid Entries in the Add/Remove Programs Tool
Start Registry Editor (Regedit.exe). Locate the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. Locate the key to be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.