1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04: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 {
return v.valid.IsValid()
func (s *ServerSpec) IsValid() bool {
return s.valid.IsValid()
}
func (v *ServerSpec) Invalidate() {
v.valid.Invalidate()
func (s *ServerSpec) Invalidate() {
s.valid.Invalidate()
}