mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 17:32:23 +08:00
Fix lint
This commit is contained in:
parent
c58302554c
commit
bf20ff84b5
|
@ -54,6 +54,9 @@ func newShadowsocksMulti(ctx context.Context, router adapter.Router, logger log.
|
|||
udpTimeout,
|
||||
adapter.NewUpstreamContextHandler(inbound.newConnection, inbound.newPacketConnection, inbound),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
err = service.UpdateUsersWithPasswords(common.MapIndexed(options.Users, func(index int, user option.ShadowsocksUser) int {
|
||||
return index
|
||||
}), common.Map(options.Users, func(user option.ShadowsocksUser) string {
|
||||
|
|
Loading…
Reference in New Issue
Block a user