mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Fix: context of DNS simplified config (#1665)
* Fix: context of DNS simplified config * Lint: remove nolint flag
This commit is contained in:
parent
6f8af37568
commit
dc69c9502d
@ -315,8 +315,8 @@ func init() {
|
||||
return New(ctx, config.(*Config))
|
||||
}))
|
||||
|
||||
common.Must(common.RegisterConfig((*SimplifiedConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) { // nolint: staticcheck
|
||||
ctx = cfgcommon.NewConfigureLoadingContext(context.Background()) // nolint: staticcheck
|
||||
common.Must(common.RegisterConfig((*SimplifiedConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
|
||||
ctx = cfgcommon.NewConfigureLoadingContext(ctx)
|
||||
|
||||
geoloadername := platform.NewEnvFlag("v2ray.conf.geoloader").GetValue(func() string {
|
||||
return "standard"
|
||||
|
Loading…
Reference in New Issue
Block a user