Browse Source

consistent ServerSpec var

pull/982/head
Jinqiu Yu 7 years ago
parent
commit
2d5aa9514f
  1. 8
      common/protocol/server_spec.go

8
common/protocol/server_spec.go

@ -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…
Cancel
Save