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

Bug fix when passing multiple headers #482

Merged
merged 4 commits into from
Jan 15, 2023
Merged

Conversation

sprankle
Copy link
Contributor

@sprankle sprankle commented Jan 3, 2023

Pull Request (PR) description

Apprach allowss optional_switch to accept array of values and bulk assign to a flag

This Pull Request (PR) fixes the following issues

Fixes #481

Apprach allowss optional_switch to accept array of values and bulk assign to a flag
@kenyon
Copy link
Member

kenyon commented Jan 3, 2023

I think you should add a test to https://github.com/voxpupuli/puppet-archive/blob/master/spec/unit/puppet/provider/archive/curl_spec.rb which has multiple headers, in a separate PR, so that we can see the failure, then fix the problem in this PR on top of the other PR, so that we can see the fix.

@sprankle sprankle marked this pull request as draft January 4, 2023 15:29
@sprankle
Copy link
Contributor Author

sprankle commented Jan 4, 2023

I submitted just the test case as it's own PR #483
Converted this to a draft - will need to rebase once merged as I already commited the testcase here.

@kenyon kenyon removed the tests-fail label Jan 12, 2023
Co-authored-by: Kenyon Ralph <kenyon@kenyonralph.com>
@sprankle sprankle marked this pull request as ready for review January 13, 2023 20:03
Copy link
Member

@kenyon kenyon left a comment

Choose a reason for hiding this comment

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

LGTM, should get another review though since some of the code was my contribution.

@bastelfreak bastelfreak added the bug Something isn't working label Jan 15, 2023
@kenyon kenyon merged commit 2e15d25 into voxpupuli:master Jan 15, 2023
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.

curl provider: array of multiple headers does not work
3 participants