Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Removed omitempty, as it caused HTTP 400s when bools were false. #49

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

zshift
Copy link

@zshift zshift commented Feb 7, 2020

Sample showing why omitempty was removed https://goplay.space/#3yw8DItT_sW

I ran into HTTP 400s when setting SkipCertVerification to false, because this property was not being sent in the payload to bitbucket. This PR fixes this error by always sending the parameters, even when false.

@ghost ghost added the size/S label Feb 7, 2020
@zshift zshift requested a review from cwood February 10, 2020 16:38
@cwood cwood merged commit eabec0c into hashicorp:master Aug 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants