mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-03 07:45:29 -05:00
fix lint warnings
This commit is contained in:
4
v2ray.go
4
v2ray.go
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user