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 incorrect init of logger for alarms server #311

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

pixelsoccupied
Copy link
Collaborator

Originally it was incorrectly initializing the logger for all CLI commands (root/sub)...as init func is called regardless of which cmd is executed. PersistentPreRun should be used instead so that alarms logging is initialized as long as alarm's sub commands are called (serve or migrate)

/cc @alegacy

@openshift-ci openshift-ci bot requested a review from alegacy November 13, 2024 21:18
@alegacy
Copy link
Collaborator

alegacy commented Nov 13, 2024

/approve

Copy link

openshift-ci bot commented Nov 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alegacy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 13, 2024
@pixelsoccupied pixelsoccupied merged commit 697a8a4 into openshift-kni:main Nov 13, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants