Use renamed method

This commit is contained in:
Seth Vargo
2017-10-24 09:39:51 -04:00
parent 5256da0fab
commit 661fac88a4

View File

@@ -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
}