Prevent nil pointer when reloading in single service mode

This commit is contained in:
Travis Groth 2019-08-01 22:07:17 -04:00
parent e8b0bcead6
commit 30243097d2
5 changed files with 15 additions and 0 deletions

View file

@ -329,4 +329,8 @@ func Test_UpdateOptions(t *testing.T) {
}
})
}
// Test nil
var p *Proxy
p.UpdateOptions(config.Options{})
}