mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-26 12:05:35 -05:00
announce deprecated proto settings
This commit is contained in:
@@ -14,3 +14,7 @@ func CreateObject(v *Instance, config interface{}) (interface{}, error) {
|
||||
}
|
||||
return common.CreateObject(ctx, config)
|
||||
}
|
||||
|
||||
func PrintDeprecatedFeatureWarning(feature string) {
|
||||
newError("You are using a deprecated feature: " + feature + ". Please update your config file with latest configuration format, or update your client software.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user