1
0
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:
DarienRaymond 2018-03-23 10:25:39 +01:00 committed by GitHub
commit 30e99f76cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
} }