config: expose viper policy hooks (#1947)

This commit is contained in:
Caleb Doxsey 2021-02-25 10:12:51 -07:00 committed by GitHub
parent 4f2bb60adb
commit e9083b6dad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -94,7 +94,7 @@ func Test_bindEnvs(t *testing.T) {
if err != nil {
t.Fatalf("failed to bind options to env vars: %s", err)
}
err = v.Unmarshal(o, viperPolicyHooks)
err = v.Unmarshal(o, ViperPolicyHooks)
if err != nil {
t.Errorf("Could not unmarshal %#v: %s", o, err)
}