mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
consistent ServerSpec var
This commit is contained in:
parent
3ff570a050
commit
2d5aa9514f
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user