1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-31 22:45:39 -05:00

Lint: fix lint (#1427)

* Lint: replace golint with revive
* Lint: fix lint
This commit is contained in:
Loyalsoldier
2021-11-27 17:16:41 +08:00
committed by GitHub
parent 43447aa2e4
commit dce8764fd7
72 changed files with 346 additions and 368 deletions

View File

@@ -178,7 +178,7 @@ func (br *BalancingRule) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler, bytes
if stub.Strategy == "" {
stub.Strategy = "random"
}
settingsPack, err := v5cfg.LoadHeterogeneousConfigFromRawJson(context.TODO(), "balancer", stub.Strategy, stub.StrategySettings)
settingsPack, err := v5cfg.LoadHeterogeneousConfigFromRawJSON(context.TODO(), "balancer", stub.Strategy, stub.StrategySettings)
if err != nil {
return err
}