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

fix log filter and add tests for flux logs #2955

Merged
merged 3 commits into from Aug 3, 2022
Merged

fix log filter and add tests for flux logs #2955

merged 3 commits into from Aug 3, 2022

Conversation

somtochiama
Copy link
Member

Closes: #2949
Supersedes: #2950

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
@kingdonb
Copy link
Member

kingdonb commented Aug 2, 2022

I see EqualFold does indeed take care of the ToLower bit.

I will take a look at these unit tests, but it looks pretty solid 👍 I guess the timestamps are really no impediment to the golden file approach. Thanks for showing me how this is done! This LGTM +1

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @somtochiama

@stefanprodan stefanprodan merged commit e1c082e into fluxcd:main Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flux logs does not select the correct resources
3 participants