Skip to content

Fix: update specs to match err string w/o case sensitivity#717

Merged
aramprice merged 1 commit intomainfrom
fix-case-sensitivity
Mar 23, 2026
Merged

Fix: update specs to match err string w/o case sensitivity#717
aramprice merged 1 commit intomainfrom
fix-case-sensitivity

Conversation

@aramprice
Copy link
Member

@aramprice aramprice commented Mar 23, 2026

Recent linting changes to bosh-utils have change the case of some err messages, this commit changes err message matching to be case-insensitive to avoid future breakage.

See: cloudfoundry/bosh-utils@b5a3cf1

Fixes:
https://bosh.ci.cloudfoundry.org/teams/main/pipelines/bosh-cli/jobs/bump-deps/builds/133#L69b8d76a:198:203

Recent linting changes to bosh-utils have change the case of some err messages,
this commit changes err message matching to be case-insensitive to avoid future
breakage.
Copy link
Member

@selzoc selzoc left a comment

Choose a reason for hiding this comment

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

Technically they should always remain lowercase per go's error preferences, but I don't see too much harm in making the comparison case-insensitive.

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Mar 23, 2026
@aramprice aramprice merged commit a22fd64 into main Mar 23, 2026
45 checks passed
@aramprice aramprice deleted the fix-case-sensitivity branch March 23, 2026 14:22
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants