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

Handle repos passed as an array for list format #1215

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented Jan 6, 2025

Summary

In 9876c31 the parameter repos was changed to no longer allow an empty string. It does allow an array, but that isn't specifically handled for the list format.

I'll admit that I didn't verify if it was an issue before and only determined this by reading the code, but now a test case is added as well to ensure it continues working.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

In 9876c31 the parameter repos was
changed to no longer allow an empty string. It does allow an array, but
that isn't specifically handled for the list format.

Fixes: 9876c31 ("Add support for deb822 APT sources (puppetlabs#1167)")
@ekohl ekohl requested review from bastelfreak, smortex and a team as code owners January 6, 2025 15:45
@ekohl ekohl added the bugfix label Jan 6, 2025
@bastelfreak bastelfreak merged commit 5e34dcb into puppetlabs:main Jan 6, 2025
20 checks passed
@ekohl ekohl deleted the handle-repos-as-array branch January 6, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants