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

🐛 main.go: improve logging for configuration of global auth #1316

Merged

Conversation

joelanford
Copy link
Member

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@joelanford joelanford requested a review from a team as a code owner September 26, 2024 20:12
Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 0513d61
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/66f5fab33c33470008b91d3e
😎 Deploy Preview https://deploy-preview-1316--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

tmshort
tmshort previously approved these changes Sep 26, 2024
Copy link
Contributor

@tmshort tmshort left a comment

Choose a reason for hiding this comment

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

/lgtm

everettraven
everettraven previously approved these changes Sep 26, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 26, 2024
@joelanford joelanford added this pull request to the merge queue Sep 26, 2024
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 76.09%. Comparing base (8699d25) to head (0513d61).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
cmd/manager/main.go 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1316      +/-   ##
==========================================
+ Coverage   76.07%   76.09%   +0.02%     
==========================================
  Files          40       40              
  Lines        2378     2380       +2     
==========================================
+ Hits         1809     1811       +2     
  Misses        401      401              
  Partials      168      168              
Flag Coverage Δ
e2e 58.48% <33.33%> (-0.01%) ⬇️
unit 51.97% <0.00%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

return ""
}
if err != nil {
logger.Error(err, "could not stat auth file path", "path", authFilePath)
logger.Error(err, "unable to stat auth file path", "path", authFilePath)
Copy link
Member

Choose a reason for hiding this comment

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

unable to stat auth file path is kind of meaning less in a way. How would the user know that we are talking about os.stat and what does that mean.

@LalatenduMohanty
Copy link
Member

/hold as the existing lgtm would lead to merging of the PR and I have a review comment #1316 (comment) which should be addressed.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 26, 2024
@LalatenduMohanty LalatenduMohanty removed this pull request from the merge queue due to a manual request Sep 26, 2024
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 27, 2024
Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 27, 2024
@LalatenduMohanty
Copy link
Member

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 27, 2024
@joelanford joelanford added this pull request to the merge queue Sep 27, 2024
Merged via the queue into operator-framework:main with commit 360f892 Sep 27, 2024
17 of 18 checks passed
@joelanford joelanford deleted the auth-file-path-logging branch October 22, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants