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

Add better YML parsing for metadata #110

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

cloudnautique
Copy link
Contributor

This is to address #2298

)

func InterfaceToString(str interface{}) string {
switch str.(type) {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you just do fmt.Sprintf("%v", str)? would do that same thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, Im going to remove it. Less code to deal with. thanks.

@deniseschannon
Copy link

rancher/rancher#2298

@deniseschannon
Copy link

rancher/rancher#2301

@ibuildthecloud
Copy link
Contributor

This still doesn't cover list of a list of maps

ibuildthecloud added a commit that referenced this pull request Oct 14, 2015
@ibuildthecloud ibuildthecloud merged commit 4313936 into rancher:master Oct 14, 2015
joshwget pushed a commit that referenced this pull request Jul 18, 2016
small yaml marshaling cleanup
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants