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

YAML format printing empty fields where json keeps them removed #1537

Open
wtrocki opened this issue Apr 22, 2022 · 0 comments
Open

YAML format printing empty fields where json keeps them removed #1537

wtrocki opened this issue Apr 22, 2022 · 0 comments
Labels
bug Something isn't working priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases

Comments

@wtrocki
Copy link
Collaborator

wtrocki commented Apr 22, 2022

Description

YAML format printing empty fields where json keeps them removed. We need to be consistent

{
  "id": "c95uk5s6eg3sq0ib86u0",
  "owner": "lburgazz_kafka_supporting",
  "created_at": "2022-04-05T07:04:55.100582Z",
  "modified_at": "2022-04-05T14:47:59.850304Z",
  "name": "lb-dbz",
  "connector_type_id": "debezium-mongodb-1.9.0.Alpha2",
  "namespace_id": "c95j6h66ar2c9mtr5vjg",
  "channel": "stable",
  "desired_state": "deleted",
  "resource_version": 2226,
  "status": {
    "state": "stopped"
  }
}
  • But in yaml
id: c95uk5s6eg3sq0ib86u0
kind: ""
href: ""
owner: lburgazz_kafka_supporting
createdat: 2022-04-05T07:04:55.100582Z
modifiedat: 2022-04-05T14:47:59.850304Z
name: lb-dbz
connectortypeid: debezium-mongodb-1.9.0.Alpha2
namespaceid: c95j6h66ar2c9mtr5vjg
channel: stable
desiredstate: deleted
resourceversion: 2226
status:
  state: stopped
  error: ""
@wtrocki wtrocki added the bug Something isn't working label Apr 22, 2022
@jackdelahunt jackdelahunt added priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases and removed needs-triage labels Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority/important-longterm Important over the long term, but may not be currently staffed and/or may require multiple releases
Projects
None yet
Development

No branches or pull requests

4 participants