Skip to content

Fix 'occured' -> 'occurred' typos in pdk set config error messages#1456

Closed
SAY-5 wants to merge 1 commit intopuppetlabs:mainfrom
SAY-5:fix-set-config-occured-typo
Closed

Fix 'occured' -> 'occurred' typos in pdk set config error messages#1456
SAY-5 wants to merge 1 commit intopuppetlabs:mainfrom
SAY-5:fix-set-config-occured-typo

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented Apr 15, 2026

Two PDK::CLI::ExitWithError messages in lib/pdk/cli/set/config.rb (lines 19 and 36) read An error occured converting '%{value}' into a %{type_name}. Both are surfaced to operators when pdk set config is given a value that fails type conversion. String-literal-only change inside the format(...) calls.

(System Ruby 2.6 can't parse the file's modern shorthand-hash syntax, so I couldn't run ruby -c against pre-existing pre-3.1 incompatibilities — the change itself is contained to a string literal.)

Two PDK::CLI::ExitWithError messages in lib/pdk/cli/set/config.rb
read 'An error occured converting \'%{value}\' into a %{type_name}'.
Both are surfaced to operators when 'pdk set config' is given a value
that fails type conversion. String-literal-only change.

(System Ruby 2.6 can't parse the file's modern shorthand-hash syntax,
so 'ruby -c' is unable to validate against pre-existing pre-3.1
incompatibilities — the change itself is contained to a string literal
inside a format(...) call.)
@SAY-5 SAY-5 requested a review from a team as a code owner April 15, 2026 18:29
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@SAY-5
Copy link
Copy Markdown
Author

SAY-5 commented Apr 28, 2026

Closing — typo-only PR. Multiple maintainers across the OSS ecosystem have flagged my recent typo-sweep PRs as AI-generated spam (notably hashicorp/nomad#27855, hashicorp/hcl#794, argo-cd reviewers). I should have caught this pattern sooner. Apologies for the noise.

@SAY-5 SAY-5 closed this Apr 28, 2026
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.

2 participants