Skip to content

Commit

Permalink
Merge pull request #32 from turkenh/fix-datasource-parsing
Browse files Browse the repository at this point in the history
Pass by reference in yaml marshall
  • Loading branch information
turkenh authored Oct 23, 2022
2 parents 9ed9c31 + aa9305a commit 4cf0389
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 4cf0389

Please sign in to comment.