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

Fix nested map renders #332

Merged
merged 3 commits into from
Dec 14, 2021
Merged

Fix nested map renders #332

merged 3 commits into from
Dec 14, 2021

Conversation

manatarms
Copy link
Contributor

We were unconditionally rendering interfaces, even if it was a map of interfaces. This lead to us just rendering the only first value in the map as an interface.
This fix handles the case for map of interfaces.

@manatarms manatarms force-pushed the fix-nested-map-renders branch 5 times, most recently from c93042e to 2f548eb Compare December 14, 2021 07:31
@manatarms manatarms force-pushed the fix-nested-map-renders branch from 2f548eb to d87352d Compare December 14, 2021 07:35
@manatarms manatarms merged commit 54c7be2 into master Dec 14, 2021
@manatarms manatarms deleted the fix-nested-map-renders branch December 14, 2021 13:06
@jacobbednarz
Copy link
Member

awesome stuff! my only nitpick would be to expose the values as a flag (like the other configuration options) and allow setting the hostname and path like we do in the provider. no big deal though as we can add another PR to do that if we push forward with it.

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