Skip to content

[confighttp] Review usage of 'pointer to type' #9478

Open
@mx-psi

Description

@mx-psi

There are a few fields in confighttp structs that use e.g. a pointer to int instead of an int. This is an unusual pattern in configuration from components, so I think we should review why we use it and whether it is justified.

To fix this issue we need to:

  • Define when we can use 'pointer to type' in configuration vs just type and relying on the zero value
  • Review the fields on confighttp based on this.

On configgrpc we have a similar pattern for the configtls configuration.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Waiting for reviews

Relationships

None yet

Development

No branches or pull requests

Issue actions