mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-03 19:32:48 +02:00
Prevent nil pointer when reloading in single service mode
This commit is contained in:
parent
e8b0bcead6
commit
30243097d2
5 changed files with 15 additions and 0 deletions
|
@ -94,4 +94,8 @@ func Test_UpdateOptions(t *testing.T) {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
// Test nil
|
||||
var a *Authorize
|
||||
a.UpdateOptions(config.Options{})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue