mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-18 00:39:54 -04:00
rename 'this'
This commit is contained in:
@@ -5,11 +5,11 @@ import (
|
||||
)
|
||||
|
||||
// Apply applies this Config.
|
||||
func (this *Config) Apply() error {
|
||||
if this == nil {
|
||||
func (v *Config) Apply() error {
|
||||
if v == nil {
|
||||
return nil
|
||||
}
|
||||
if err := internet.ApplyGlobalNetworkSettings(this.NetworkSettings); err != nil {
|
||||
if err := internet.ApplyGlobalNetworkSettings(v.NetworkSettings); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user