Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

pkg/terraform: remove OutputBytes #827

Merged
merged 2 commits into from
Aug 23, 2020
Merged

Conversation

invidian
Copy link
Member

See commit messages for reasoning.

This way, terraform package will do the unmarshalling for us.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This function is not used anywhere anymore and we have Output() as an
alternative, which will be more convinient to use in most of the cases,
as it automatically unmarshalls the output into given struct.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Copy link
Member

@johananl johananl left a comment

Choose a reason for hiding this comment

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

LGTM. Did you test it manually? This code path isn't covered by our tests AFAIK.

@invidian
Copy link
Member Author

LGTM. Did you test it manually? This code path isn't covered by our tests AFAIK.

I didn't test that, will do.

@johananl
Copy link
Member

It's probably enough to verify you can see the prompt with the DNS records to be configured.

@invidian
Copy link
Member Author

I verified, that I can see a DNS entries prompt properly, merging.

@invidian invidian merged commit a175b37 into master Aug 23, 2020
@invidian invidian deleted the invidian/terraform-simplification branch August 23, 2020 15:26
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.

2 participants