mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-20 20:47:16 +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
|
@ -329,4 +329,8 @@ func Test_UpdateOptions(t *testing.T) {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
// Test nil
|
||||
var p *Proxy
|
||||
p.UpdateOptions(config.Options{})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue