Skip to content

Conversation

@bastelfreak
Copy link
Collaborator

previously we assumed that an environment exists in the params hash. And we didn't allow environment names with a single character. This PR fixes both.

@bastelfreak bastelfreak added the bug Something isn't working label Apr 29, 2024
@bastelfreak bastelfreak self-assigned this Apr 29, 2024
@bastelfreak bastelfreak requested a review from a team as a code owner April 29, 2024 13:50
previously we assumed that an environment exists in the params hash. And
we didn't allow environment names with a single character. This PR fixes
both.
Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

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

Ideally would be great to have test coverage for the case where environment is absent versus a single character, but the task specs are lacking in general, so I'm ok merging.

@joshcooper joshcooper merged commit 8207d16 into puppetlabs:main May 8, 2024
@bastelfreak bastelfreak deleted the sanity branch May 11, 2024 20:42
@bastelfreak bastelfreak mentioned this pull request May 24, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants