Skip to content

Remove "omitempty" from exported config options #2173

Closed
@pracucci

Description

@pracucci

While reviewing the PR #2165 (which adds the /config API endpoint) I realized the omitempty we have across the config are hiding part of the config when exported by the GET /config endpoint.

I would suggest to get rid of all omitempty across the Cortex config structs except for deprecated fields.

Metadata

Metadata

Assignees

Labels

good first issueThese are great first issues. If you are looking for a place to start, start here!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions