mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-10-10 12:41:45 -07:00
move function to features
This commit is contained in:
@@ -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