Skip to content

docs: correct typos in error type and authentication config comments#5937

Merged
kodiakhq[bot] merged 1 commit into
flipt-io:v2from
immanuwell:fix/comment-typos
May 29, 2026
Merged

docs: correct typos in error type and authentication config comments#5937
kodiakhq[bot] merged 1 commit into
flipt-io:v2from
immanuwell:fix/comment-typos

Conversation

@immanuwell

Copy link
Copy Markdown
Contributor

Summary

  • errors/errors.go: convience -> convenience (7 occurrences across all Err*f var comments), and It us up to -> It is up to in ErrNotModified
  • internal/config/authentication.go: provention -> prevention in the CSRF field comment

Changes

  • errors/errors.go: fix spelling and grammar in godoc comments
  • internal/config/authentication.go: fix spelling in struct field comment

Backward Compatibility

Comment-only changes, zero functional impact.

Additional Notes

Spotted while reading through the errors package. The convience typo was copy-pasted across all 7 error factory var comments, so fixing them all in one shot.

@immanuwell
immanuwell requested a review from a team as a code owner May 29, 2026 12:03
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 29, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: approve

Straightforward typo-only fixes in godoc and struct field comments — no functional changes, no issues.

🤖 Automated review by the Flipt PR review agent.

@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.28%. Comparing base (a67ffbe) to head (3e4fddb).

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #5937   +/-   ##
=======================================
  Coverage   61.28%   61.28%           
=======================================
  Files         141      141           
  Lines       14208    14208           
=======================================
  Hits         8707     8707           
  Misses       4772     4772           
  Partials      729      729           
Flag Coverage Δ
integrationtests 34.50% <ø> (ø)
unittests 52.37% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@erka erka changed the title fix: correct typos in error type and authentication config comments docs: correct typos in error type and authentication config comments May 29, 2026
@erka erka added the v2 Flipt v2 label May 29, 2026
@erka erka added the automerge Used by Kodiak bot to automerge PRs label May 29, 2026

@erka erka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice! thanks @immanuwell

@kodiakhq
kodiakhq Bot merged commit 2e76ab2 into flipt-io:v2 May 29, 2026
36 of 37 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Flipt V2 May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Used by Kodiak bot to automerge PRs size:S This PR changes 10-29 lines, ignoring generated files. v2 Flipt v2

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants