mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-14 17:49:15 -04:00
move function to features
This commit is contained in:
2
v2ray.go
2
v2ray.go
@@ -47,7 +47,7 @@ func New(config *Config) (*Instance, error) {
|
||||
}
|
||||
|
||||
if config.Transport != nil {
|
||||
PrintDeprecatedFeatureWarning("global transport settings")
|
||||
features.PrintDeprecatedFeatureWarning("global transport settings")
|
||||
}
|
||||
if err := config.Transport.Apply(); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user