Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move logging outside internal #2418

Merged
merged 1 commit into from
Mar 17, 2024
Merged

refactor: Move logging outside internal #2418

merged 1 commit into from
Mar 17, 2024

Conversation

michi-covalent
Copy link
Contributor

Move the logging package out of internal/ so that it can be imported from outside cilium/cilium-cli repo. This is useful for building the cilium CLI binary from cilium/cilium repo 1.

Footnotes

  1. CFP-25694: Move cilium/cilium-cli code into cilium/cilium repository design-cfps#9

Move the logging package out of internal/ so that it can be imported
from outside cilium/cilium-cli repo. This is useful for building the
cilium CLI binary from cilium/cilium repo [^1].

[^1]: cilium/design-cfps#9

Signed-off-by: Michi Mutsuzaki <[email protected]>
Copy link
Member

@asauber asauber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to not move this into /pkg ?

@michi-covalent
Copy link
Contributor Author

Any reason to not move this into /pkg ?

there is no pkg/ directory right now. not sure if it's worth adding it at this point 💭 i can go either way though.

@michi-covalent michi-covalent requested a review from asauber March 16, 2024 22:49
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 17, 2024
@michi-covalent michi-covalent merged commit 0119a72 into main Mar 17, 2024
13 checks passed
@michi-covalent michi-covalent deleted the pr/michi/log branch March 17, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants