Skip to content

Conversation

btromanova
Copy link
Contributor

This fixes #42.

The bug was in copying reference of array containing values from config into array containing all allowed values. The latter was then modified (by adding values and sorting), which caused items in the values array to change.

This PR replaces copy by reference to creation of new array and coping values and modifies test to go through the previously failing scenario.

@btromanova btromanova requested a review from DragonZ August 14, 2019 08:11
@btromanova btromanova force-pushed the tr/variable-filters branch from b47bed6 to 9786ac8 Compare August 14, 2019 10:43
Copy link
Contributor

@dansimau dansimau left a comment

Choose a reason for hiding this comment

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

LGTM

@btromanova btromanova force-pushed the tr/support-terraform012-output branch from 83ebb48 to 37cf7c3 Compare September 24, 2019 09:16
@btromanova btromanova changed the base branch from tr/support-terraform012-output to master September 24, 2019 09:24
@btromanova btromanova merged commit 1c1f98c into master Sep 24, 2019
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.

Incorrect variable values being passed to modules
3 participants