Skip to content

Conversation

@flaper87
Copy link
Contributor

Some yaml libraries use json tags to drive serialization for both, json
and yaml. This patch adds json tags to the clientconfig's structs to
support those libraries.

The lack of these tags has caused some integration issues with other
softare using packages like ghodss/yaml. An example of this can be
found in the PR linked below:

openshift/installer#854

Some yaml libraries use json tags to drive serialization for both, json
and yaml. This patch adds json tags to the clientconfig's structs to
support those libraries.

The lack of these tags has caused some integration issues with other
softare using packages like `ghodss/yaml`. An example of this can be
found in the PR linked below:

openshift/installer#854
Copy link
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

LGTM - thank you!

@jtopjian jtopjian merged commit 9c3b9f2 into gophercloud:master Jan 24, 2019
flaper87 added a commit to flaper87/installer that referenced this pull request Feb 13, 2019
json tags were added to clientconfig. we shouldn't need yaml.v2 anymore:

gophercloud/utils#75
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