Skip to content

Commit

Permalink
Merge pull request #33 from turkenh/backport-release-0.1
Browse files Browse the repository at this point in the history
Backport - Pass by reference in yaml marshall
  • Loading branch information
turkenh authored Oct 23, 2022
2 parents 340331a + 590de53 commit 960c5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (p *Preparer) injectVariables() (map[string]string, error) {
if err != nil {
return nil, errors.Wrap(err, "cannot read data source file")
}
if err := yaml.Unmarshal(dataSource, dataSourceMap); err != nil {
if err := yaml.Unmarshal(dataSource, &dataSourceMap); err != nil {
return nil, errors.Wrap(err, "cannot prepare data source map")
}
}
Expand Down

0 comments on commit 960c5e1

Please sign in to comment.