Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

ref(xds): use PodMetadata struct in place of individual fields #2079

Merged
merged 1 commit into from
Nov 18, 2020
Merged

ref(xds): use PodMetadata struct in place of individual fields #2079

merged 1 commit into from
Nov 18, 2020

Conversation

nojnhuh
Copy link
Contributor

@nojnhuh nojnhuh commented Nov 17, 2020

Description:
This change cleans up a couple of function signatures related to the pod
metadata tied to each Envoy proxy by returning the entire struct vs.
each field individually to make it more ergonomic. No functional changes.

I plan to add more fields to the PodMetadata struct so we can use it for SMI
metrics so this change will make that a bit simpler.

Affected area:

  • New Functionality [ ]
  • Documentation [ ]
  • Install [ ]
  • Control Plane [X]
  • CLI Tool [ ]
  • Certificate Management [ ]
  • Networking [ ]
  • Metrics [ ]
  • SMI Policy [ ]
  • Security [ ]
  • Tests [ ]
  • CI System [ ]
  • Performance [ ]
  • Other [ ]

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
    No

This change cleans up a couple of function signatures related to the pod
metadata tied to each Envoy proxy by returning the entire struct vs.
each field individually to make it more ergonomic.
@nojnhuh nojnhuh requested a review from a team as a code owner November 17, 2020 20:29
@nojnhuh nojnhuh merged commit e9bb558 into openservicemesh:main Nov 18, 2020
@nojnhuh nojnhuh deleted the envoy-pod-meta branch November 18, 2020 15:52
draychev pushed a commit to draychev/osm that referenced this pull request Nov 19, 2020
…ervicemesh#2079)

This change cleans up a couple of function signatures related to the pod
metadata tied to each Envoy proxy by returning the entire struct vs.
each field individually to make it more ergonomic.
draychev pushed a commit to draychev/osm that referenced this pull request Dec 14, 2020
…ervicemesh#2079)

This change cleans up a couple of function signatures related to the pod
metadata tied to each Envoy proxy by returning the entire struct vs.
each field individually to make it more ergonomic.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants