Skip to content

Commit

Permalink
#1: Returns proper error
Browse files Browse the repository at this point in the history
  • Loading branch information
erikreinert committed Mar 22, 2020
1 parent 1437664 commit bb351ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func SyncPolicies(client *api.Client, config *Config) error {
putErr := sys.PutPolicy(name, string(policy))

if putErr != nil {
return err
return putErr
}
}

Expand Down

0 comments on commit bb351ae

Please sign in to comment.