ing
This commit is contained in:
parent
fc32f89c93
commit
e7526836ae
|
@ -36,7 +36,7 @@ type server struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *server) Start() error {
|
func (s *server) Start() error {
|
||||||
if nil != s.serverHandler {
|
if nil == s.serverHandler {
|
||||||
panic("Server: server handler must be specified.")
|
panic("Server: server handler must be specified.")
|
||||||
}
|
}
|
||||||
s.serverHandler.Validate()
|
s.serverHandler.Validate()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user