mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
Merge pull request #982 from yujinqiu/consistent_code
consistent ServerSpec variable name
This commit is contained in:
commit
30e99f76cb
@ -110,10 +110,10 @@ func (s *ServerSpec) PickUser() *User {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *ServerSpec) IsValid() bool {
|
func (s *ServerSpec) IsValid() bool {
|
||||||
return v.valid.IsValid()
|
return s.valid.IsValid()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *ServerSpec) Invalidate() {
|
func (s *ServerSpec) Invalidate() {
|
||||||
v.valid.Invalidate()
|
s.valid.Invalidate()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user