Use renamed method

This commit is contained in:
Seth Vargo 2017-10-24 09:39:51 -04:00
parent 713d5d5307
commit 2bb2ed11d3
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
1 changed files with 1 additions and 1 deletions

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
}