fix lint warnings

This commit is contained in:
Darien Raymond committed 2017-08-29 14:50:53 +02:00
1 parent 52ad41cda3
commit fbbed156db
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ func newSimpleServer(config *Config) (*simpleServer, error) {
if err != nil {
return nil, newError("failed apply default log settings").Base(err)
}
space.AddApplication(l)
common.Must(space.AddApplication(l))
}
outboundHandlerManager := proxyman.OutboundHandlerManagerFromSpace(space)
@@ -115,7 +115,7 @@ func newSimpleServer(config *Config) (*simpleServer, error) {
if err != nil {
return nil, err
}
space.AddApplication(d)
common.Must(space.AddApplication(d))
disp = d.(dispatcher.Interface)
}