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

catalog: Remove GetServicesForServiceAccount from MeshCataloger interface #3115

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

draychev
Copy link
Contributor

@draychev draychev commented Apr 9, 2021

This PR changes the MeshCataloger interface by removing GetServicesForServiceAccount from it.

I see that we are not using GetServicesForServiceAccount() anywhere outside of pkg/catalog. It seems unnecessary to have this exposed via Interface to the rest of the world. I propose we privatize GetServicesForServiceAccount and remove it from MeshCataloger interface.

@draychev draychev added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 9, 2021
@draychev draychev changed the title [RFC] catalog: Remove GetServicesForServiceAccount from MeshCataloger interface catalog: Remove GetServicesForServiceAccount from MeshCataloger interface Apr 13, 2021
…face

Signed-off-by: Delyan Raychev <delyan.raychev@microsoft.com>
@draychev draychev marked this pull request as ready for review April 13, 2021 21:46
@draychev draychev requested a review from a team as a code owner April 13, 2021 21:46
@draychev draychev merged commit ee58cb9 into openservicemesh:main Apr 13, 2021
@draychev draychev deleted the catalog_tweaks_5 branch April 13, 2021 22:28
@draychev draychev removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 13, 2021
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.

4 participants