consistent ServerSpec var

pull/982/head
Jinqiu Yu 2018-03-23 16:18:57 +08:00
parent 3ff570a050
commit 2d5aa9514f
1 changed files with 4 additions and 4 deletions

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