Skip to content

Commit

Permalink
added strict unmarshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Feb 2, 2021
1 parent 2d65b62 commit 353bf97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clab/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (c *CLab) GetTopology(topo string) error {
}
log.Debug(fmt.Sprintf("Topology file contents:\n%s\n", yamlFile))

err = yaml.Unmarshal(yamlFile, c.Config)
err = yaml.UnmarshalStrict(yamlFile, c.Config)
if err != nil {
return err
}
Expand Down

0 comments on commit 353bf97

Please sign in to comment.