mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-25 03:43:12 +03:00
Fix lint
This commit is contained in:
@@ -54,6 +54,9 @@ func newShadowsocksMulti(ctx context.Context, router adapter.Router, logger log.
|
|||||||
udpTimeout,
|
udpTimeout,
|
||||||
adapter.NewUpstreamContextHandler(inbound.newConnection, inbound.newPacketConnection, inbound),
|
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 {
|
err = service.UpdateUsersWithPasswords(common.MapIndexed(options.Users, func(index int, user option.ShadowsocksUser) int {
|
||||||
return index
|
return index
|
||||||
}), common.Map(options.Users, func(user option.ShadowsocksUser) string {
|
}), common.Map(options.Users, func(user option.ShadowsocksUser) string {
|
||||||
|
|||||||
Reference in New Issue
Block a user