mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fixup! handle when hcl parser panics
This commit is contained in:
@@ -321,6 +321,5 @@ func hclDecode(p *Policy, rules string) (err error) {
|
||||
}
|
||||
}()
|
||||
|
||||
err = hcl.Decode(p, rules)
|
||||
return err
|
||||
return hcl.Decode(p, rules)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user