mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
config: expose viper policy hooks (#1947)
This commit is contained in:
parent
4f2bb60adb
commit
e9083b6dad
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue