Skip to content

Use the generic GetPointer instead of a typed GetPointer* #822

Closed
@pleshakov

Description

@pleshakov

After generics were added to go, we added generic GetPointer https://github.com/nginxinc/nginx-kubernetes-gateway/blob/7662c2118927b12c7eacf60ca720fce087ac9e55/internal/helpers/helpers.go#L65 and started using it instead of typed GetPointer* functions. However, we didn't update the existing code.

Acceptance criteria:

  • Use the generic GetPointer instead of a concrete GetPointer*

Metadata

Metadata

Assignees

Labels

backlogCurrently unprioritized work. May change with user feedback or as the product progresses.good first issueGood for newcomersrefinedRequirements are refined and the issue is ready to be implemented.size/smallEstimated to be completed within ~2 daystech-debtShort-term pain, long-term benefit

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions