mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
Use renamed method
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user