when the node is in leaving state

18 views
Skip to first unread message

aufech...@gmail.com

unread,
Mar 19, 2018, 4:32:16 AM3/19/18
to Serf
func (s MemberStatus) String() string {
switch s {
case StatusNone:
return "none"
case StatusAlive:
return "alive"
case StatusLeaving:
return "leaving"
case StatusLeft:
return "left"
case StatusFailed:
return "failed"
default:
panic(fmt.Sprintf(
"unknown MemberStatus: %d", s))
}
}
Reply all
Reply to author
Forward
0 new messages