Use renamed method
This commit is contained in:
parent
713d5d5307
commit
2bb2ed11d3
|
@ -86,7 +86,7 @@ func (c *PolicyFmtCommand) Run(args []string) int {
|
|||
}
|
||||
|
||||
// Actually parse the policy
|
||||
if _, err := vault.Parse(string(b)); err != nil {
|
||||
if _, err := vault.ParseACLPolicy(string(b)); err != nil {
|
||||
c.UI.Error(err.Error())
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue