Skip to content

Produce valid config.json, fix trailing command after grpc_tls#620

Open
vsarunas wants to merge 1 commit intoansible-collections:masterfrom
ordo-one:fix/grpc_tls_trailling_comma
Open

Produce valid config.json, fix trailing command after grpc_tls#620
vsarunas wants to merge 1 commit intoansible-collections:masterfrom
ordo-one:fix/grpc_tls_trailling_comma

Conversation

@vsarunas
Copy link

@vsarunas vsarunas commented Sep 23, 2025

SUMMARY

Removes trailing comma after grpc_tls in addresses configuration block.

The trailing comma makes the generated JSON invalid and breaks tools like jq; currently the template produces:

  "addresses": {
    "dns": "0.0.0.0",
    "http": "0.0.0.0",
    "https": "0.0.0.0",
    "grpc": "0.0.0.0",
    "grpc_tls": "0.0.0.0",
  },

grpc_tls should not have trailing comma.

Fixes #572

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

Config template.

Removes trailing comma after `grpc_tls` in addresses configuration block.

The trailing comma makes the generated JSON invalid and breaks tools like `jq`; currently the template produces:

```
  "addresses": {
    "dns": "0.0.0.0",
    "http": "0.0.0.0",
    "https": "0.0.0.0",
    "grpc": "0.0.0.0",
    "grpc_tls": "0.0.0.0",
  },
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration files are not in json format

1 participant